|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IdentityCallbackHandler
Each Identity Callback hanlder must implement this interface
Method Summary | |
---|---|
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. |
Methods inherited from interface javax.security.auth.callback.CallbackHandler |
---|
handle |
Method Detail |
---|
void setIdentity(java.lang.String identity) throws AsserterException
identity
- The valid identityAsserterException
- 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
|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |