Package com.ibm.security.access.policy
Interface Context
public interface Context
This interface represents an access policy context.
-
Method Summary
Modifier and TypeMethodDescriptionGet the protocol context.Get the request.Get the session.getUser()
Get the user.void
setDecision
(Decision decision) Set the access policy decision.
-
Method Details
-
getUser
User getUser()Get the user.- Returns:
- The user.
-
getRequest
Request getRequest()Get the request.- Returns:
- The request.
-
getSession
Session getSession()Get the session.- Returns:
- The session.
-
getProtocolContext
ProtocolContext getProtocolContext()Get the protocol context. For SAML 2.0 protocol, this method returnsProtocolContext
. For OAuth 2.0 protocol, this method returnsProtocolContext
.- Returns:
- The protocol context.
-
setDecision
Set the access policy decision.- Parameters:
decision
- The access policy decision.
-