org.apache.cxf.rs.security.saml.authorization
Class ClaimsAuthorizingInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.apache.cxf.rs.security.saml.authorization.ClaimsAuthorizingInterceptor
- All Implemented Interfaces:
- org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>, org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
public class ClaimsAuthorizingInterceptor
- extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.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(org.apache.cxf.message.Message message)
throws org.apache.cxf.interceptor.Fault
- Throws:
org.apache.cxf.interceptor.Fault
setClaims
public void setClaims(Map<String,List<ClaimBean>> claimsMap)
getTargetMethod
protected Method getTargetMethod(org.apache.cxf.message.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