|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionMapper
The class ActionMapper
is an interface that is
implemented to get SSO information and map partner actions to
OpenSSO authorization decisions.
A different implementation of the interface may be developed for different
partner. The mapping between the partner source ID and the implementation
class are configured at the Trusted Partner Sites
field
in SAML service.
Field Summary | |
---|---|
static String |
DENY
Key to hold a list of actions that are denied. |
static String |
INDETERMINATE
Key to hold a list of actions that are indeterminate. |
static String |
PERMIT
Key to hold a list of actions that are permitted. |
Method Summary | |
---|---|
Map |
getAuthorizationDecisions(AuthorizationDecisionQuery query,
Object token,
String sourceID)
Returns Action Decisions for the user. |
Assertion |
getSSOAssertion(AuthorizationDecisionQuery query,
String sourceID)
Returns the Assertion that contains Authentication information that can be used to obtain single sign on token. |
String |
getSSOTokenID(AuthorizationDecisionQuery query)
Returns the single sign on token id to OpenSSO from the query. |
Field Detail |
---|
static final String PERMIT
static final String DENY
static final String INDETERMINATE
Method Detail |
---|
String getSSOTokenID(AuthorizationDecisionQuery query)
query
- The received AuthorizationDecisionQuery
.
Assertion getSSOAssertion(AuthorizationDecisionQuery query, String sourceID)
query
- The received AuthorizationDecisionQuery
.sourceID
- The SourceID
from which this query is
coming from.
Map getAuthorizationDecisions(AuthorizationDecisionQuery query, Object token, String sourceID) throws SAMLException
query
- The received AuthorizationDecisionQuery
.token
- User sessioin to retrieve the decisions.sourceID
- The sourceID
from which the query is coming
from.
PERMIT
List of permitted actions, or
DENY
List of denied actions, or
INDETERMINATE
List of indeterminate actions
SAMLException
- if an error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |