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

List of all members.

Public Member Functions

 ELUser ()
 ELUser (Map< String, String > customAttributes)
String getPersonUID ()
void setPersonUID (String personUID)
String getFirstname ()
void setFirstname (String firstname)
String getLastname ()
void setLastname (String lastname)
String getEmail ()
void setEmail (String email)
String getHomeOrganisation ()
void setHomeOrganisation (String homeOrganisation)
String getAaiUID ()
void setAaiUID (String aaiUID)
String getLdapUIDNumber ()
void setLdapUIDNumber (String uIDNumber)
String getFullname ()
boolean isUserValid ()
String getCustomAttribute (String key)
String getLdapUID ()
void setLdapUID (String ldapUID)
String toString ()
String toHTMLString ()

Detailed Description

Author:
tdmarti

Constructor & Destructor Documentation

ch.enterpriselab.login.model.ELUser.ELUser ( )

Default Constructor. Empty.

ch.enterpriselab.login.model.ELUser.ELUser ( Map< String, String >  customAttributes)

Constructor which fill out the properties. According to the map customAttributes the properties are set.

Parameters:
customAttributesMap with attributes received by switch aai.

Member Function Documentation

String ch.enterpriselab.login.model.ELUser.getAaiUID ( )

Return the Shib-SwissEP-UniqueID. It is unique for all users in the switch aai platform.

Returns:
the aaiUID

Here is the caller graph for this function:

String ch.enterpriselab.login.model.ELUser.getCustomAttribute ( String  key)

Gets custom AAI-Attribute by its specified name in the attribute-map.xml The default attribute-map.xml can be found on the SWITCHaai-Site: https://www.switch.ch/aai/docs/shibboleth/SWITCH/2.3/sp/deployment/download/attribute-map.xml

Parameters:
keyAttributename specified by attribute-map.xml
Returns:
Returns null when the value couldn't be found. Otherwise the value passed by AAI.

Here is the caller graph for this function:

String ch.enterpriselab.login.model.ELUser.getEmail ( )

Return the Shib-InetOrgPerson-mail

Returns:
the email

Here is the caller graph for this function:

String ch.enterpriselab.login.model.ELUser.getFirstname ( )

Return the Shib-InetOrgPerson-givenName.

Returns:
the firstname

Here is the caller graph for this function:

String ch.enterpriselab.login.model.ELUser.getFullname ( )

Return the full name of the user. Concat the firstname with a with space and the lastname.

Returns:
firstname and lastname

Here is the call graph for this function:

String ch.enterpriselab.login.model.ELUser.getHomeOrganisation ( )

Return the Shib-SwissEP-HomeOrganization. Mostly the dns-name of the school (f.e. hslu.ch)

Returns:
the homeOrganisation

Here is the caller graph for this function:

String ch.enterpriselab.login.model.ELUser.getLastname ( )

Return the Shib-Person-surname. The surname/lastname of the ELUser

Returns:
the lastname

Here is the caller graph for this function:

String ch.enterpriselab.login.model.ELUser.getLdapUID ( )
Returns:
the ldapUID

Here is the caller graph for this function:

String ch.enterpriselab.login.model.ELUser.getLdapUIDNumber ( )

The unique ldap number (UID Number) inside the enterprise lab ldap server. It is created by the ldap server.

Returns:
the ldapUID

Here is the caller graph for this function:

String ch.enterpriselab.login.model.ELUser.getPersonUID ( )

Return the Shib-Person-uid It is mostly the login name in the home organisation (f.e. tamueller).

Returns:
the personUID

Here is the caller graph for this function:

boolean ch.enterpriselab.login.model.ELUser.isUserValid ( )

Checks if the AAI-Attributes are set correctly by evaluating a must-field.

Returns:
Returns true when everything is correct.

Here is the caller graph for this function:

void ch.enterpriselab.login.model.ELUser.setAaiUID ( String  aaiUID)
Parameters:
aaiUIDthe aaiUID to set

Here is the caller graph for this function:

void ch.enterpriselab.login.model.ELUser.setEmail ( String  email)
Parameters:
emailthe email to set

Here is the caller graph for this function:

void ch.enterpriselab.login.model.ELUser.setFirstname ( String  firstname)
Parameters:
firstnamethe firstname to set

Here is the caller graph for this function:

void ch.enterpriselab.login.model.ELUser.setHomeOrganisation ( String  homeOrganisation)
Parameters:
homeOrganisationthe homeOrganisation to set

Here is the caller graph for this function:

void ch.enterpriselab.login.model.ELUser.setLastname ( String  lastname)
Parameters:
lastnamethe lastname to set

Here is the caller graph for this function:

void ch.enterpriselab.login.model.ELUser.setLdapUID ( String  ldapUID)
Parameters:
ldapUIDthe ldapUID to set

Here is the caller graph for this function:

void ch.enterpriselab.login.model.ELUser.setLdapUIDNumber ( String  uIDNumber)
Parameters:
ldapUIDthe ldapUID to set

Here is the caller graph for this function:

void ch.enterpriselab.login.model.ELUser.setPersonUID ( String  personUID)
Parameters:
personUIDthe personUID to set

Here is the caller graph for this function:

String ch.enterpriselab.login.model.ELUser.toHTMLString ( )

Return the object optimized for web presentation

Returns:
toString value without
and

Here is the call graph for this function:

String ch.enterpriselab.login.model.ELUser.toString ( )

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