bwLehrpool Masterserver
Manages authentication and sharing of virtual machines between participating institutions
Static Public Member Functions | List of all members
org.openslx.imagemaster.util.UserUtil Class Reference

Static Public Member Functions

static UserInfo getFirstPublishingUser (UserInfo...user)
 Given a list of users, return the first one that isn't anonymous, which means they opted in for global image sharing. More...
 
static UserInfo getFirstPublishingUserOrDummy (UserInfo...user)
 Given a list of users, return the first one that isn't anonymous, which means they opted in for global image sharing. More...
 
static void assertTutor (UserInfo userInfo) throws TAuthorizationException
 

Detailed Description

Definition at line 12 of file UserUtil.java.

Member Function Documentation

static void org.openslx.imagemaster.util.UserUtil.assertTutor ( UserInfo  userInfo) throws TAuthorizationException
static

Definition at line 55 of file UserUtil.java.

+ Here is the caller graph for this function:

static UserInfo org.openslx.imagemaster.util.UserUtil.getFirstPublishingUser ( UserInfo...  user)
static

Given a list of users, return the first one that isn't anonymous, which means they opted in for global image sharing.

Definition at line 19 of file UserUtil.java.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static UserInfo org.openslx.imagemaster.util.UserUtil.getFirstPublishingUserOrDummy ( UserInfo...  user)
static

Given a list of users, return the first one that isn't anonymous, which means they opted in for global image sharing.

If none matches, return the dummy user.

Definition at line 43 of file UserUtil.java.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: