ELogin
Enterprise Lab AAI Login Application
Public Member Functions
ch.enterpriselab.login.managedBean.BackingBean Class Reference
Collaboration diagram for ch.enterpriselab.login.managedBean.BackingBean:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BackingBean ()
void init ()
String enableAccount ()
String createAccount ()
String createNewPassword ()
String deleteAccount ()
boolean isUserExistInLDAP ()
boolean isUserAccountDisabled ()
boolean isProductive ()
boolean isLDAPConnectionReady ()
String getPassword ()
void setPassword (String password)
String getPasswordValidate ()
void setPasswordValidate (String passwordValidate)
ELUser getElUser ()
String getOldElUser ()
void setOldElUser (String oldElUser)
boolean isExistUser ()
void setExistUser (boolean existUser)

Detailed Description

Class behind the UI.

Author:
tdmarti

Constructor & Destructor Documentation

ch.enterpriselab.login.managedBean.BackingBean.BackingBean ( )

Default Constructor. Empty.


Member Function Documentation

String ch.enterpriselab.login.managedBean.BackingBean.createAccount ( )

Here is the call graph for this function:

String ch.enterpriselab.login.managedBean.BackingBean.createNewPassword ( )

Here is the call graph for this function:

String ch.enterpriselab.login.managedBean.BackingBean.deleteAccount ( )

Here is the call graph for this function:

String ch.enterpriselab.login.managedBean.BackingBean.enableAccount ( )

Activate a disabled Account

Returns:
Startpage (Home)

Here is the call graph for this function:

ELUser ch.enterpriselab.login.managedBean.BackingBean.getElUser ( )
Returns:
the elUser
String ch.enterpriselab.login.managedBean.BackingBean.getOldElUser ( )
Returns:
the oldElUser
String ch.enterpriselab.login.managedBean.BackingBean.getPassword ( )
Returns:
the password
String ch.enterpriselab.login.managedBean.BackingBean.getPasswordValidate ( )
Returns:
the passwordValidate
void ch.enterpriselab.login.managedBean.BackingBean.init ( )

Initialize the Session Scoped Bean. Will be called when the user session starts. Form Switch AAI following Attributes are reveiced

  • Shib-EP-Affiliation
  • Shib-EP-Entitlement
  • Shib-EP-OrgDN
  • Shib-EP-OrgUnitDN
  • Shib-EP-PrincipalName
  • Shib-InetOrgPerson-givenName
  • Shib-InetOrgPerson-homePhone
  • Shib-InetOrgPerson-homePostalAddress
  • Shib-InetOrgPerson-mail
  • Shib-InetOrgPerson-mobile
  • Shib-InetOrgPerson-preferredLanguage
  • Shib-OrgPerson-postalAddress
  • Shib-Person-surname
  • Shib-Person-telephoneNumber
  • Shib-SwissEP-DateOfBirth
  • Shib-SwissEP-Gender
  • Shib-SwissEP-HomeOrganization
  • Shib-SwissEP-HomeOrganizationType
  • Shib-SwissEP-UniqueID
  • Shib-SwissEP-swissEduPersonStaffCategory
  • Shib-SwissEP-swissEduPersonStudyBranch1
  • Shib-SwissEP-swissEduPersonStudyBranch2
  • Shib-SwissEP-swissEduPersonStudyBranch3
  • Shib-SwissEP-swissEduPersonStudyLevel

Here is the call graph for this function:

Here is the caller graph for this function:

boolean ch.enterpriselab.login.managedBean.BackingBean.isExistUser ( )
Returns:
the existUser
boolean ch.enterpriselab.login.managedBean.BackingBean.isLDAPConnectionReady ( )

Make a connection to the ldap Server. If the connection is Ready, it returns true.

Returns:
connections status

Here is the call graph for this function:

boolean ch.enterpriselab.login.managedBean.BackingBean.isProductive ( )

Evaluates if the application is running on a productive system, by evaluation the Project State from the web.xml. Used for example when Shibboleth AAI Environment isn't available.

Returns:
True when its on the productive environment

Here is the caller graph for this function:

boolean ch.enterpriselab.login.managedBean.BackingBean.isUserAccountDisabled ( )

Check if "Enable-Account" button can be displayed. -> checks if the account is disabled

Returns:
"true" if the button can be displayed

Here is the call graph for this function:

boolean ch.enterpriselab.login.managedBean.BackingBean.isUserExistInLDAP ( )

Check if the user exists in the ldap form EnterpriseLab

Returns:
"true" if the user already exists.

Here is the call graph for this function:

void ch.enterpriselab.login.managedBean.BackingBean.setExistUser ( boolean  existUser)
Parameters:
existUserthe existUser to set
void ch.enterpriselab.login.managedBean.BackingBean.setOldElUser ( String  oldElUser)
Parameters:
oldElUserthe oldElUser to set
void ch.enterpriselab.login.managedBean.BackingBean.setPassword ( String  password)
Parameters:
passwordthe password to set
void ch.enterpriselab.login.managedBean.BackingBean.setPasswordValidate ( String  passwordValidate)
Parameters:
passwordValidatethe passwordValidate to set

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables