public class JAASLoginInterceptor extends AbstractPhaseInterceptor<Message>
Modifier and Type | Field and Description |
---|---|
static String |
ROLE_CLASSIFIER_CLASS_NAME |
static String |
ROLE_CLASSIFIER_PREFIX |
Constructor and Description |
---|
JAASLoginInterceptor() |
JAASLoginInterceptor(String phase) |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
public static final String ROLE_CLASSIFIER_PREFIX
public static final String ROLE_CLASSIFIER_CLASS_NAME
public JAASLoginInterceptor()
public JAASLoginInterceptor(String phase)
public void setContextName(String name)
public String getContextName()
@Deprecated public void setRolePrefix(String name)
setRoleClassifier(String)
name
- public void setRoleClassifier(String value)
public String getRoleClassifier()
public void setRoleClassifierType(String value)
public String getRoleClassifierType()
public void setReportFault(boolean reportFault)
public void setUseDoAs(boolean useDoAs)
public void handleMessage(Message message)
Interceptor
protected CallbackHandler getCallbackHandler(String name, String password)
protected SecurityContext createSecurityContext(String name, Subject subject)
public Configuration getLoginConfig()
public void setLoginConfig(Configuration loginConfig)
public List<CallbackHandlerProvider> getCallbackHandlerProviders()
public void setCallbackHandlerProviders(List<CallbackHandlerProvider> callbackHandlerProviders)
public void addCallbackHandlerProviders(List<CallbackHandlerProvider> callbackHandlerProviders2)
public void setAllowAnonymous(boolean allowAnonymous)
public void setAllowNamedPrincipals(boolean allowNamedPrincipals)
Apache CXF