public abstract class AbstractSecurityContextInInterceptor extends AbstractPhaseInterceptor<Message>
Constructor and Description |
---|
AbstractSecurityContextInInterceptor() |
Modifier and Type | Method and Description |
---|---|
protected SecurityContext |
createSecurityContext(Principal p,
Subject subject) |
protected abstract Subject |
createSubject(SecurityToken token) |
protected Principal |
getPrincipal(Principal originalPrincipal,
Subject subject) |
void |
handleMessage(Message message)
Intercepts a message.
|
protected void |
reportSecurityException(String errorMessage) |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
public AbstractSecurityContextInInterceptor()
public void handleMessage(Message message) throws Fault
Interceptor
Fault
protected SecurityContext createSecurityContext(Principal p, Subject subject)
protected abstract Subject createSubject(SecurityToken token)
protected void reportSecurityException(String errorMessage)
Apache CXF