Class AbstractSecurityContextInInterceptor
- java.lang.Object
- 
- org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
- 
- org.apache.cxf.interceptor.security.AbstractSecurityContextInInterceptor
 
 
- 
- All Implemented Interfaces:
- Interceptor<Message>,- PhaseInterceptor<Message>
 - Direct Known Subclasses:
- AbstractUsernameTokenInInterceptor
 
 public abstract class AbstractSecurityContextInInterceptor extends AbstractPhaseInterceptor<Message> 
- 
- 
Constructor SummaryConstructors Constructor Description AbstractSecurityContextInInterceptor()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected SecurityContextcreateSecurityContext(Principal p, Subject subject)protected abstract SubjectcreateSubject(SecurityToken token)protected PrincipalgetPrincipal(Principal originalPrincipal, Subject subject)voidhandleMessage(Message message)Intercepts a message.protected voidreportSecurityException(String errorMessage)- 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptoraddAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
 
- 
 
- 
- 
- 
Method Detail- 
handleMessagepublic void handleMessage(Message message) Description copied from interface:InterceptorIntercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.
 - 
createSecurityContextprotected SecurityContext createSecurityContext(Principal p, Subject subject) 
 - 
createSubjectprotected abstract Subject createSubject(SecurityToken token) 
 - 
reportSecurityExceptionprotected void reportSecurityException(String errorMessage) 
 
- 
 
-