Package ddf.security.pep.interceptor
Class PEPAuthorizingInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
ddf.security.pep.interceptor.PEPAuthorizingInterceptor
- 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 PEPAuthorizingInterceptor
extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
Interceptor used to perform service authentication.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleMessage(org.apache.cxf.message.Message message) Intercepts a message.voidsetSecurityLogger(ddf.security.audit.SecurityLogger securityLogger) voidsetSecurityManager(ddf.security.service.SecurityManager securityManager) Sets the security manager that will be used to create a subject.Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
Constructor Details
-
PEPAuthorizingInterceptor
public PEPAuthorizingInterceptor()
-
-
Method Details
-
setSecurityManager
public void setSecurityManager(ddf.security.service.SecurityManager securityManager) Sets the security manager that will be used to create a subject.- Parameters:
securityManager-
-
handleMessage
public void handleMessage(org.apache.cxf.message.Message message) throws org.apache.cxf.interceptor.Fault Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.- Parameters:
message-- Throws:
org.apache.cxf.interceptor.Fault
-
setSecurityLogger
public void setSecurityLogger(ddf.security.audit.SecurityLogger securityLogger)
-