Package org.jboss.security.jacc
Class SubjectPolicyContextHandler
- java.lang.Object
-
- org.jboss.security.jacc.SubjectPolicyContextHandler
-
- All Implemented Interfaces:
javax.security.jacc.PolicyContextHandler
public class SubjectPolicyContextHandler extends Object implements javax.security.jacc.PolicyContextHandler
A PolicyContextHandler for the current authenticated Subject.- Version:
- $Revison:$
- Author:
- Scott.Stark@jboss.org, Anil.Saldhana@redhat.com
-
-
Constructor Summary
Constructors Constructor Description SubjectPolicyContextHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getContext(String key, Object data)
String[]
getKeys()
boolean
supports(String key)
-
-
-
Method Detail
-
getContext
public Object getContext(String key, Object data) throws javax.security.jacc.PolicyContextException
- Specified by:
getContext
in interfacejavax.security.jacc.PolicyContextHandler
- Throws:
javax.security.jacc.PolicyContextException
-
getKeys
public String[] getKeys() throws javax.security.jacc.PolicyContextException
- Specified by:
getKeys
in interfacejavax.security.jacc.PolicyContextHandler
- Throws:
javax.security.jacc.PolicyContextException
-
supports
public boolean supports(String key) throws javax.security.jacc.PolicyContextException
- Specified by:
supports
in interfacejavax.security.jacc.PolicyContextHandler
- Throws:
javax.security.jacc.PolicyContextException
-
-