public interface IdentityCallbackHandler
extends javax.security.auth.callback.CallbackHandler
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getIdentity()
User must implement this method and return the valid authenticated identity
|
javax.security.auth.Subject |
getSubject()
User should implement this method and can return the valid subject if LoginModule is not used for subject population and the subject.loginmodule.disabled property is set to true.
|
boolean |
isIdentityAsserted()
User should implement this method and must set the valid authenticated state and it can not be null in any case.
|
void |
setApplicationContextName(java.lang.String contextName)
set contextName for callback handling
|
void |
setAuthenticationType(java.lang.String authenticationType)
User should implement this method and must set the valid authenticated identity and it can not be null in any case.
|
void |
setIdentity(java.lang.String identity)
User must implement this method and set the valid authenticated identity
|
void |
setIdentityAsserted(boolean authState)
User should implement this method and must set the valid authenticated state and it can not be null in any case.
|
void |
setRequest(javax.servlet.http.HttpServletRequest request)
set HttpRequestCallback for callback handling
|
void |
setResponse(javax.servlet.http.HttpServletResponse response)
set HttpResponseCallback for callback handling
|
void |
setSession(java.lang.Object object)
This method can be used to pass any session object from Identity Asserter to Login module if needed
|
void |
setSessionCookie(java.lang.String sessionCookie)
sets session cookie in callback handling
|
void |
setSubject(javax.security.auth.Subject subject)
User should implement this method and can set the valid subject if LoginModule is not used for subject population and the subject.loginmodule.disabled property is set to true.
|
void setIdentity(java.lang.String identity)
throws oracle.security.jps.service.idm.asserter.AsserterException
identity - The valid identityoracle.security.jps.service.idm.asserter.AsserterException - if identity is not assertedjava.lang.String getIdentity()
void setSubject(javax.security.auth.Subject subject)
subject - The valid subjectjavax.security.auth.Subject getSubject()
void setAuthenticationType(java.lang.String authenticationType)
authenticationType - The valid identity Typevoid setIdentityAsserted(boolean authState)
authState - The valid authentication Stateboolean isIdentityAsserted()
void setSessionCookie(java.lang.String sessionCookie)
sessionCookie - - The session cookievoid setResponse(javax.servlet.http.HttpServletResponse response)
response - - the http responsevoid setRequest(javax.servlet.http.HttpServletRequest request)
request - - the http requestvoid setApplicationContextName(java.lang.String contextName)
contextName - - The context namevoid setSession(java.lang.Object object)
object - - The session object