jet.server.api
Interface SecurityContext


public interface SecurityContext

SecurityContext is an interface that is used to help you implement security context.


Method Summary
 java.lang.String getEmail()
          Return the email address of the user.
 java.util.Vector getRoles()
          Return roles the user belong to.
 java.lang.String getSalutation()
          Return the salutation of the user(e.g., Mr., Mrs., etc).
 java.lang.String getUserName()
          Return the user name.
 

Method Detail

getUserName

java.lang.String getUserName()
Return the user name.

Returns:
the user name.

getRoles

java.util.Vector getRoles()
Return roles the user belong to.

Returns:
roles the user belong to.

getEmail

java.lang.String getEmail()
Return the email address of the user.

Returns:
the email address of the user.

getSalutation

java.lang.String getSalutation()
Return the salutation of the user(e.g., Mr., Mrs., etc).

Returns:
the salutation of the user.