Class JAASLoginInterceptor
- java.lang.Object
- 
- org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
- 
- org.apache.cxf.interceptor.security.JAASLoginInterceptor
 
 
- 
- All Implemented Interfaces:
- Interceptor<Message>,- PhaseInterceptor<Message>
 
 public class JAASLoginInterceptor extends AbstractPhaseInterceptor<Message> 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringROLE_CLASSIFIER_CLASS_NAMEstatic StringROLE_CLASSIFIER_PREFIX
 - 
Constructor SummaryConstructors Constructor Description JAASLoginInterceptor()JAASLoginInterceptor(String phase)
 - 
Method Summary- 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptoraddAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
 
- 
 
- 
- 
- 
Field Detail- 
ROLE_CLASSIFIER_PREFIXpublic static final String ROLE_CLASSIFIER_PREFIX - See Also:
- Constant Field Values
 
 - 
ROLE_CLASSIFIER_CLASS_NAMEpublic static final String ROLE_CLASSIFIER_CLASS_NAME - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
JAASLoginInterceptorpublic JAASLoginInterceptor() 
 - 
JAASLoginInterceptorpublic JAASLoginInterceptor(String phase) 
 
- 
 - 
Method Detail- 
setContextNamepublic void setContextName(String name) 
 - 
getContextNamepublic String getContextName() 
 - 
setRolePrefix@Deprecated public void setRolePrefix(String name) Deprecated.replaced bysetRoleClassifier(String)- Parameters:
- name-
 
 - 
setRoleClassifierpublic void setRoleClassifier(String value) 
 - 
getRoleClassifierpublic String getRoleClassifier() 
 - 
setRoleClassifierTypepublic void setRoleClassifierType(String value) 
 - 
getRoleClassifierTypepublic String getRoleClassifierType() 
 - 
setReportFaultpublic void setReportFault(boolean reportFault) 
 - 
setUseDoAspublic void setUseDoAs(boolean useDoAs) 
 - 
handleMessagepublic void handleMessage(Message message) Description copied from interface:InterceptorIntercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.
 - 
getCallbackHandlerprotected CallbackHandler getCallbackHandler(String name, String password) 
 - 
createSecurityContextprotected SecurityContext createSecurityContext(String name, Subject subject) 
 - 
getLoginConfigpublic Configuration getLoginConfig() 
 - 
setLoginConfigpublic void setLoginConfig(Configuration loginConfig) 
 - 
getCallbackHandlerProviderspublic List<CallbackHandlerProvider> getCallbackHandlerProviders() 
 - 
setCallbackHandlerProviderspublic void setCallbackHandlerProviders(List<CallbackHandlerProvider> callbackHandlerProviders) 
 - 
addCallbackHandlerProviderspublic void addCallbackHandlerProviders(List<CallbackHandlerProvider> callbackHandlerProviders2) 
 - 
setAllowAnonymouspublic void setAllowAnonymous(boolean allowAnonymous) 
 - 
setAllowNamedPrincipalspublic void setAllowNamedPrincipals(boolean allowNamedPrincipals) 
 
- 
 
-