|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.ws.soap.security.callback.AbstractCallbackHandler
org.springframework.ws.soap.security.xwss.callback.acegi.AcegiDigestPasswordValidationCallbackHandler
public class AcegiDigestPasswordValidationCallbackHandler
Callback handler that validates a password digest using an Acegi UserDetailsService. Logic based on
Acegi's DigestProcessingFilter.
UserDetailService is used to load UserDetails from. The digest of the password
contained in this details object is then compared with the digest in the message.
This class only handles PasswordValidationCallbacks that contain a DigestPasswordRequest,
and throws an UnsupportedCallbackException for others.
UserDetailsService,
PasswordValidationCallback,
PasswordValidationCallback.DigestPasswordRequest,
DigestProcessingFilter| Field Summary |
|---|
| Fields inherited from class org.springframework.ws.soap.security.callback.AbstractCallbackHandler |
|---|
logger |
| Constructor Summary | |
|---|---|
AcegiDigestPasswordValidationCallbackHandler()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Deprecated. |
protected void |
handleInternal(Callback callback)
Deprecated. Handles PasswordValidationCallbacks that contain a DigestPasswordRequest, and throws an
UnsupportedCallbackException for others |
void |
setUserCache(UserCache userCache)
Deprecated. Sets the users cache. |
void |
setUserDetailsService(UserDetailsService userDetailsService)
Deprecated. Sets the Acegi user details service. |
| Methods inherited from class org.springframework.ws.soap.security.callback.AbstractCallbackHandler |
|---|
handle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AcegiDigestPasswordValidationCallbackHandler()
| Method Detail |
|---|
public void setUserCache(UserCache userCache)
public void setUserDetailsService(UserDetailsService userDetailsService)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanException
protected void handleInternal(Callback callback)
throws IOException,
UnsupportedCallbackException
PasswordValidationCallbacks that contain a DigestPasswordRequest, and throws an
UnsupportedCallbackException for others
handleInternal in class AbstractCallbackHandlerUnsupportedCallbackException - when the callback is not supported
IOException
|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||