|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.jps.callback.IdentityCallback
public class IdentityCallback
This class is used to pass the identity for authentication or assertion by Jps system. If this identity is already asserted and security is enabled then appropriate security policy must be provisioned becuase some of the methods of this class are security protected
Constructor Summary | |
---|---|
IdentityCallback() |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IdentityCallback()
Method Detail |
---|
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 JpsCallback
public void setSession(java.lang.Object object)
object
-public java.lang.Object getSession()
|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |