|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectno.feide.moria.webservices.v2_0.AuthenticationImpl
public final class AuthenticationImpl
| Field Summary | |
|---|---|
private static java.lang.String |
AUTHN_EX_MSG
Log message for AuthenticationExceptions. |
private static java.lang.String |
AUTHZ_EX_MSG
Log message for AuthorizationExceptions. |
private static java.lang.String |
DIR_UNAV_EX_MSG
Log message for DirectoryUnavailableExceptions. |
private static java.lang.String |
ILLEGAL_INPUT_EX_MSG
Log message for IllegalInputExceptions. |
private static java.lang.String |
INOP_STATE_EX_MSG
Log message for InoperableStateExceptions. |
private no.feide.moria.log.MessageLogger |
messageLogger
Class wide logger. |
private static java.lang.String |
UNKNOWN_TICKET_EX_MSG
Log message for UnknownTicketExceptions. |
| Constructor Summary | |
|---|---|
AuthenticationImpl()
Default constructor. |
|
| Method Summary | |
|---|---|
Attribute[] |
directNonInteractiveAuthentication(java.lang.String[] attributes,
java.lang.String username,
java.lang.String password)
Performs direct non-interactive authentication. |
Attribute[] |
getUserAttributes(java.lang.String serviceTicket)
Gets user attributes. |
java.lang.String |
initiateAuthentication(java.lang.String[] attributes,
java.lang.String returnURLPrefix,
java.lang.String returnURLPostfix,
boolean forceInteractiveAuthentication)
Initiates authentication. |
private Attribute[] |
mapToAttributeArray(java.util.Map map,
java.lang.String activeTicketId)
Converts a Map to an array of Attributes. |
boolean |
verifyUserExistence(java.lang.String username)
Verifies the existence of a given user in the underlying directories. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private no.feide.moria.log.MessageLogger messageLogger
private static final java.lang.String AUTHZ_EX_MSG
private static final java.lang.String AUTHN_EX_MSG
private static final java.lang.String DIR_UNAV_EX_MSG
private static final java.lang.String ILLEGAL_INPUT_EX_MSG
private static final java.lang.String INOP_STATE_EX_MSG
private static final java.lang.String UNKNOWN_TICKET_EX_MSG
| Constructor Detail |
|---|
public AuthenticationImpl()
| Method Detail |
|---|
public java.lang.String initiateAuthentication(java.lang.String[] attributes,
java.lang.String returnURLPrefix,
java.lang.String returnURLPostfix,
boolean forceInteractiveAuthentication)
throws java.rmi.RemoteException
initiateAuthentication in interface Authenticationattributes - The attributes the service wants returned on loginreturnURLPrefix - The prefix of the url the user is to be returned toreturnURLPostfix - The optional postfix of the return urlforceInteractiveAuthentication - Whether or not cookie based authentication (SSO Light)
should be allowed.
java.rmi.RemoteException - If anything fails during the call.Authentication.initiateAuthentication(java.lang.String[],
java.lang.String, java.lang.String, boolean)
public Attribute[] directNonInteractiveAuthentication(java.lang.String[] attributes,
java.lang.String username,
java.lang.String password)
throws java.rmi.RemoteException
directNonInteractiveAuthentication in interface Authenticationattributes - The attributes the service wants returned on login.username - The user name of the user to be authenticated.password - The password of the user to be authenticated.
java.rmi.RemoteException - If anything fails during the call.Authentication.directNonInteractiveAuthentication(java.lang.String[],
java.lang.String, java.lang.String)
public Attribute[] getUserAttributes(java.lang.String serviceTicket)
throws java.rmi.RemoteException
getUserAttributes in interface AuthenticationserviceTicket - The ticket included in the return request issued by the client.
java.rmi.RemoteException - If anything fails during the call.Authentication.getUserAttributes(java.lang.String)
public boolean verifyUserExistence(java.lang.String username)
throws java.rmi.RemoteException
verifyUserExistence in interface Authenticationusername - The username to be validated.
java.rmi.RemoteException - If anything fails during the call.Authentication.verifyUserExistence(java.lang.String)
private Attribute[] mapToAttributeArray(java.util.Map map,
java.lang.String activeTicketId)
map - The Map to be converted.activeTicketId - Optional variable for logging purposes.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||