org.apache.cxf.interceptor.security
Class JAASLoginInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.apache.cxf.interceptor.security.JAASLoginInterceptor
- 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 JAASLoginInterceptor
- 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 |
ROLE_CLASSIFIER_PREFIX
public static final String ROLE_CLASSIFIER_PREFIX
- See Also:
- Constant Field Values
ROLE_CLASSIFIER_CLASS_NAME
public static final String ROLE_CLASSIFIER_CLASS_NAME
- See Also:
- Constant Field Values
JAASLoginInterceptor
public JAASLoginInterceptor()
JAASLoginInterceptor
public JAASLoginInterceptor(String phase)
setContextName
public void setContextName(String name)
getContextName
public String getContextName()
setRolePrefix
@Deprecated
public void setRolePrefix(String name)
- Deprecated.
setRoleClassifier
public void setRoleClassifier(String value)
getRoleClassifier
public String getRoleClassifier()
setRoleClassifierType
public void setRoleClassifierType(String value)
getRoleClassifierType
public String getRoleClassifierType()
setReportFault
public void setReportFault(boolean reportFault)
handleMessage
public void handleMessage(org.apache.cxf.message.Message message)
throws org.apache.cxf.interceptor.Fault
- Throws:
org.apache.cxf.interceptor.Fault
getCallbackHandler
protected CallbackHandler getCallbackHandler(String name,
String password)
createSecurityContext
protected org.apache.cxf.security.SecurityContext createSecurityContext(Subject subject)
getLoginConfig
public Configuration getLoginConfig()
setLoginConfig
public void setLoginConfig(Configuration loginConfig)
Apache CXF