public class JAASLoginInterceptor
extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.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) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.cxf.security.SecurityContext |
createSecurityContext(String name,
Subject subject) |
protected CallbackHandler |
getCallbackHandler(String name,
String password) |
String |
getContextName() |
Configuration |
getLoginConfig() |
String |
getRoleClassifier() |
String |
getRoleClassifierType() |
void |
handleMessage(org.apache.cxf.message.Message message) |
void |
setContextName(String name) |
void |
setLoginConfig(Configuration loginConfig) |
void |
setReportFault(boolean reportFault) |
void |
setRoleClassifier(String value) |
void |
setRoleClassifierType(String value) |
void |
setRolePrefix(String name)
Deprecated.
|
void |
setUseDoAs(boolean useDoAs) |
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)
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(org.apache.cxf.message.Message message)
throws org.apache.cxf.interceptor.Fault
org.apache.cxf.interceptor.Faultprotected CallbackHandler getCallbackHandler(String name, String password)
protected org.apache.cxf.security.SecurityContext createSecurityContext(String name, Subject subject)
public Configuration getLoginConfig()
public void setLoginConfig(Configuration loginConfig)
Apache CXF