ELogin
Enterprise Lab AAI Login Application
Public Member Functions | Static Public Member Functions
ch.enterpriselab.login.control.GroupManager Class Reference
Collaboration diagram for ch.enterpriselab.login.control.GroupManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

String getLDAPGroup (final ELUser elUser) throws ConfigurationException
String getScriptTemplate (String ldapGroupID) throws ConfigurationException

Static Public Member Functions

static GroupManager getInstance ()

Detailed Description

Evaluates the LDAP-Group based on the AAI-Attributes and the GroupConfig.xml.

Author:
mla

Member Function Documentation

static GroupManager ch.enterpriselab.login.control.GroupManager.getInstance ( ) [static]

Singleton pattern

Returns:
singleton instance of this class

Here is the caller graph for this function:

String ch.enterpriselab.login.control.GroupManager.getLDAPGroup ( final ELUser  elUser) throws ConfigurationException

Evaluates the LDAP Group (gidNumber). The xml-configuration file is load every time it is executed (changing configuraiton during runtime is so possible).

Returns:
the ldap Group Number (gidNumber for example: 1027)

Here is the caller graph for this function:

String ch.enterpriselab.login.control.GroupManager.getScriptTemplate ( String  ldapGroupID) throws ConfigurationException

Getter for the Script-Template-XML of a certain group, which contains the shell-commands.

Parameters:
ldapGroupIDLDAP Group ID
Returns:
Name of the Script-Template-XML for the specified Group. If there is no template specified, it takes the default one from the Main-Configuration. (For example: studentScriptTemplate.xml)

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:
 All Classes Namespaces Files Functions Variables