org.apache.cxf.rs.security.saml.authorization
Class ClaimsAuthorizingInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.rs.security.saml.authorization.ClaimsAuthorizingInterceptor
- All Implemented Interfaces:
- Interceptor<Message>, PhaseInterceptor<Message>
public class ClaimsAuthorizingInterceptor
- extends AbstractPhaseInterceptor<Message>
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClaimsAuthorizingInterceptor
public ClaimsAuthorizingInterceptor()
handleMessage
public void handleMessage(Message message)
throws Fault
- Description copied from interface:
Interceptor
- Intercepts a message.
Interceptors should NOT invoke handleMessage or handleFault
on the next interceptor - the interceptor chain will
take care of this.
- Throws:
Fault
setClaims
public void setClaims(Map<String,List<ClaimBean>> claimsMap)
getTargetMethod
protected Method getTargetMethod(Message m)
authorize
protected boolean authorize(SAMLSecurityContext sc,
Method method)
setSecuredObject
public void setSecuredObject(Object object)
findClaims
protected void findClaims(Class<?> cls)
setNameAliases
public void setNameAliases(Map<String,String> nameAliases)
setFormatAliases
public void setFormatAliases(Map<String,String> formatAliases)
Apache CXF