|
Oracle Fusion Middleware Access SDK Java API Reference for Oracle Access Management Access Manager 11g Release 2 (11.1.2) E27136-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Deprecated. Defines an Interface to perform authenticate and authorize operation for pseudo user session.
public interface ObPseudoUserSessionInterface
ObPseudoUserSessionInterface defines an interface which provides a way to authenticate and authorize without establishing and maintaining a specific corresponding user session in the OAM 11g Server.
Method Summary | |
---|---|
void |
clearActions() Deprecated. Clears all information pertaining to actions that was retrieved as part of previous authentication or authorization operation. |
java.lang.String |
getAction(java.lang.String actionType, java.lang.String actionName) Deprecated. Returns action corresponding to the action name and type specified. |
java.util.Hashtable |
getActions(java.lang.String actionType) Deprecated. Returns hashtable containing actions in the form of name/value pairs of String type for specified actionType. |
java.lang.String[] |
getActionTypes() Deprecated. Returns string array of all the action types returned by the OAM server as part of authentication or authorization. |
int |
getError() Deprecated. Returns the error number from the most recent authentication or authorization Error |
java.lang.String |
getErrorMessage() Deprecated. Returns the detailed error message for the authentication or authorization failure |
int |
getLevel() Deprecated. Returns authentication scheme level at which user is authenticated |
java.lang.String |
getLocation() Deprecated. Returns the IP address of the user's client |
int |
getNumberOfActions(java.lang.String actionType) Deprecated. Returns number of actions of the specified type that are associated with the specified user session. |
int |
getStatus() Deprecated. Provides integer value representing the current status of the session. |
java.lang.String |
getUserIdentity() Deprecated. Returns the DN of the user's profile entry in the user directory. |
boolean |
isAuthorized(ObResourceRequest res) Deprecated. Checks if the user is authorized to request an operation for a particular resource |
boolean |
isAuthorized(ObResourceRequest res, java.util.Hashtable parameters) Deprecated. Checks if the user is authorized to request an operation for a particular resource |
Method Detail |
---|
java.lang.String getAction(java.lang.String actionType, java.lang.String actionName)
Each resource type defines the following set of action types: cookie, headervar and redirecturl for http resources. The redirecturl action type indicates the url where the user should be redirected to for successful or failed authentication or authorization. To retrieve the redirection url set action type to "redirecturl" and name to "HTTP_REDIRECT".
actionType
- type of action to be retrieved. If this is left NULL, the default is headervar.actionName
- name of the action to be retrieved.java.util.Hashtable getActions(java.lang.String actionType)
Each resource type defines the following set of action types: cookie, headervar and redirecturl for http resources. The redirecturl action type indicates the url where the user should be redirected to for successful or failed authentication or authorization. To retrieve the redirection url set action type to "redirecturl".
actionType
- type of action to be retrieved. If this is left NULL, the default is "headervar".int getNumberOfActions(java.lang.String actionType)
Each resource type defines the following set of action types: cookie, headervar and redirecturl for http resources.
actionType
- type of action to be retrieved. If this is left NULL, the default is headervar.java.lang.String[] getActionTypes()
Each resource type defines the following set of action types: cookie, headervar and redirecturl for http resources.
void clearActions()
int getStatus()
int getError()
Error
java.lang.String getErrorMessage()
boolean isAuthorized(ObResourceRequest res) throws ObAccessException
res
- object representing a requested resource whose authorization is to be checked.true
if authorization succeeds, else false
ObAccessException
- In case a failure occurs during this operationboolean isAuthorized(ObResourceRequest res, java.util.Hashtable parameters) throws ObAccessException
res
- object representing a requested resource whose authorization is to be checked.parameters
- Hashtable of name-value pairs of String type required by These parameters are required if the authorization policy requires additional information to perform authorization. The parameters that are required for authorization can be obtained by using getAuthorizationParameters method of ObResourceRequest
true
if authorization succeeds, else false
ObAccessException
- In case a failure occurs during this operationjava.lang.String getUserIdentity() throws ObAccessException
ObAccessException
- In case a failure occurs during this operationint getLevel() throws ObAccessException
ObAccessException
- In case a failure occurs during this operationjava.lang.String getLocation() throws ObAccessException
ObAccessException
- In case a failure occurs during this operation
|
Oracle Fusion Middleware Access SDK Java API Reference for Oracle Access Management Access Manager 11g Release 2 (11.1.2) E27136-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |