org.apache.cxf.transport.http
Class HttpAuthenticationFaultHandler
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.apache.cxf.transport.http.HttpAuthenticationFaultHandler
- 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 HttpAuthenticationFaultHandler
- extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
Translates an AuthenticationException into a 401 response
| Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, isGET, isRequestor, setAfter, setBefore |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpAuthenticationFaultHandler
public HttpAuthenticationFaultHandler()
handleMessage
public void handleMessage(org.apache.cxf.message.Message message)
throws org.apache.cxf.interceptor.Fault
- Throws:
org.apache.cxf.interceptor.Fault
handleFault
public void handleFault(org.apache.cxf.message.Message message)
- Specified by:
handleFault in interface org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>- Overrides:
handleFault in class org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
setAuthenticationType
public void setAuthenticationType(String authenticationType)
setRealm
public void setRealm(String realm)
Apache CXF