|
TaskBean API 0.5 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectglogic.jthin.serv.AuthenticationHandler
Base class for handling authentication processing. Different authentication implementations built.
| Field Summary | |
static long |
SESSIONHASH_TIME_WINDOW
|
| Constructor Summary | |
AuthenticationHandler()
|
|
| Method Summary | |
void |
authenticateSession(Attributes clientAuthAttributes,
Attributes sesAttributes,
java.lang.String stProductName)
Authenticate the user to the associated product. |
java.lang.String |
decryptSsoSession(SSOSessionBean ssoSessionBean)
Implement your custom decryption logic here in subclass. |
SSOSessionBean |
encryptSsoSession(java.lang.String stSessionID)
Implement your custom encryption logic here in subclass |
java.lang.String |
getUsername(Attributes authAttributes)
|
boolean |
isAdminUser(Attributes authAttributes)
|
boolean |
isAdminUser(JThinSsoKey ssoKey)
|
boolean |
isAdminUser(SessionData sessionData)
|
boolean |
isSSOSessionValid(javax.servlet.http.HttpServletRequest request)
Checks if the web session is valid. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final long SESSIONHASH_TIME_WINDOW
| Constructor Detail |
public AuthenticationHandler()
| Method Detail |
public void authenticateSession(Attributes clientAuthAttributes,
Attributes sesAttributes,
java.lang.String stProductName)
throws AuthenticationException,
WServiceAccessException
sesAttributes - Attributes saved in the SessionData object. Optional.stProductName - Product name user is being authenticated against.
AuthenticationException
WServiceAccessExceptionpublic boolean isSSOSessionValid(javax.servlet.http.HttpServletRequest request)
public SSOSessionBean encryptSsoSession(java.lang.String stSessionID)
public java.lang.String decryptSsoSession(SSOSessionBean ssoSessionBean)
throws AuthenticationException
AuthenticationExceptionpublic java.lang.String getUsername(Attributes authAttributes)
public boolean isAdminUser(Attributes authAttributes)
public boolean isAdminUser(JThinSsoKey ssoKey)
public boolean isAdminUser(SessionData sessionData)
|
TaskBean API 0.5 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||