Package com.ibm.security.access.policy
Interface Context
-
public interface Context
This interface represents an access policy context.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProtocolContext
getProtocolContext()
Get the protocol context.Request
getRequest()
Get the request.Session
getSession()
Get the session.User
getUser()
Get the user.void
setDecision(Decision decision)
Set the access policy decision.
-
-
-
Method Detail
-
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
void setDecision(Decision decision)
Set the access policy decision.- Parameters:
decision
- The access policy decision.
-
-