public class IdentityCallback extends java.lang.Object implements JpsCallback
| Constructor and Description |
|---|
IdentityCallback() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthenticationType()
Returns the authentication type
|
JpsCallbackType |
getCallbackType()
Returns the callback type
|
java.lang.String |
getIdentity()
Returns this identity name
|
java.lang.Object |
getSession()
This method can be used to pass any session session from Identity Asserter to Login module if needed
|
java.lang.String |
getSessionCookie()
Returns the session cookie
|
boolean |
isIdentityAsserted()
Returns if the identity is asserted or not
|
void |
setAuthenticationType(java.lang.String authenticationType)
This method sets the authentication type
This method first calls <href>JpsAuth.checkPermission</href> and the permission is constructed as |
void |
setIdentity(java.lang.String identity)
This method sets the identity name
This method first calls <href>JpsAuth.checkPermission</href> and the permission is constructed as |
void |
setIdentityAsserted(boolean identityAsserted)
This method sets the identityAsserted value, true or false
This method first calls <href>JpsAuth.checkPermission</href> and the permission is constructed as |
void |
setSession(java.lang.Object object)
This method can be used to pass any session session from Identity Asserter to Login module if needed
|
void |
setSessionCookie(java.lang.String sessionCookie)
This method sets the session cookie
This method first calls <href>JpsAuth.checkPermission</href> and the permission is constructed as |
public void setIdentity(java.lang.String identity)
This method first calls <href>JpsAuth.checkPermission</href> and the permission is constructed as new JpsPermission("IdentityAssertion", "execute");. This may result in a SecurityException if security is enabled and security policy is not configured.
identity - The identity namejava.lang.SecurityException - if JpsAuth.checkPermission does not allow access to this method.public java.lang.String getIdentity()
public void setAuthenticationType(java.lang.String authenticationType)
This method first calls <href>JpsAuth.checkPermission</href> and the permission is constructed as new JpsPermission("IdentityAssertion", "execute");. This may result in a SecurityException if security is enabled and security policy is not configured.
authenticationType - The authentication typejava.lang.SecurityException - if JpsAuth.checkPermission does not allow access to this method.public java.lang.String getAuthenticationType()
public void setIdentityAsserted(boolean identityAsserted)
This method first calls <href>JpsAuth.checkPermission</href> and the permission is constructed as new JpsPermission("IdentityAssertion", "execute");. This may result in a SecurityException if security is enabled and security policy is not configured.
identityAsserted - The identityAsserted value. true or falsejava.lang.SecurityException - if JpsAuth.checkPermission does not allow access to this method.public boolean isIdentityAsserted()
public java.lang.String getSessionCookie()
public void setSessionCookie(java.lang.String sessionCookie)
This method first calls <href>JpsAuth.checkPermission</href> and the permission is constructed as new JpsPermission("IdentityAssertion", "execute");. This may result in a SecurityException if security is enabled and security policy is not configured.
sessionCookie - The session cookie to be setjava.lang.SecurityException - if JpsAuth.checkPermission does not allow access to this method.public JpsCallbackType getCallbackType()
getCallbackType in interface JpsCallbackpublic void setSession(java.lang.Object object)
object -public java.lang.Object getSession()