Package com.ibm.security.access.policy
Interface Context
-
public interface ContextThis interface represents an access policy context.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProtocolContextgetProtocolContext()Get the protocol context.RequestgetRequest()Get the request.SessiongetSession()Get the session.UsergetUser()Get the user.voidsetDecision(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.
-
-