Class JAASLoginInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.interceptor.security.JAASLoginInterceptor
- All Implemented Interfaces:
Interceptor<Message>
,PhaseInterceptor<Message>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCallbackHandlerProviders
(List<CallbackHandlerProvider> callbackHandlerProviders2) protected SecurityContext
createSecurityContext
(String name, Subject subject) protected CallbackHandler
getCallbackHandler
(String name, String password) void
handleMessage
(Message message) Intercepts a message.void
setAllowAnonymous
(boolean allowAnonymous) void
setAllowNamedPrincipals
(boolean allowNamedPrincipals) void
setCallbackHandlerProviders
(List<CallbackHandlerProvider> callbackHandlerProviders) 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) Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
Field Details
-
ROLE_CLASSIFIER_PREFIX
- See Also:
-
ROLE_CLASSIFIER_CLASS_NAME
- See Also:
-
-
Constructor Details
-
JAASLoginInterceptor
public JAASLoginInterceptor() -
JAASLoginInterceptor
-
-
Method Details
-
setContextName
-
getContextName
-
setRolePrefix
Deprecated.replaced bysetRoleClassifier(String)
- Parameters:
name
-
-
setRoleClassifier
-
getRoleClassifier
-
setRoleClassifierType
-
getRoleClassifierType
-
setReportFault
public void setReportFault(boolean reportFault) -
setUseDoAs
public void setUseDoAs(boolean useDoAs) -
handleMessage
Description copied from interface:Interceptor
Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this. -
getCallbackHandler
-
createSecurityContext
-
getLoginConfig
-
setLoginConfig
-
getCallbackHandlerProviders
-
setCallbackHandlerProviders
-
addCallbackHandlerProviders
-
setAllowAnonymous
public void setAllowAnonymous(boolean allowAnonymous) -
setAllowNamedPrincipals
public void setAllowNamedPrincipals(boolean allowNamedPrincipals)
-
setRoleClassifier(String)