|
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.wss4j.callback.AbstractWsPasswordCallbackHandler
org.springframework.ws.soap.security.wss4j.callback.acegi.AcegiPlainTextPasswordValidationCallbackHandler
public class AcegiPlainTextPasswordValidationCallbackHandler
Callback handler that validates a certificate uses an Acegi AuthenticationManager. Logic based on
Acegi's BasicProcessingFilter.
AuthenticationManager to operate. It can be set using the
authenticationManager property. An Acegi UsernamePasswordAuthenticationToken is created
with the username as principal and password as credentials.
UsernamePasswordAuthenticationToken,
BasicProcessingFilter| Field Summary |
|---|
| Fields inherited from class org.springframework.ws.soap.security.callback.AbstractCallbackHandler |
|---|
logger |
| Constructor Summary | |
|---|---|
AcegiPlainTextPasswordValidationCallbackHandler()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Deprecated. |
protected void |
handleCleanup(CleanupCallback callback)
Deprecated. Invoked when a CleanupCallback is passed to AbstractCallbackHandler.handle(Callback[]). |
protected void |
handleUsernameTokenUnknown(WSPasswordCallback callback)
Deprecated. Invoked when the callback has a WSPasswordCallback.USERNAME_TOKEN_UNKNOWN usage. |
void |
setAuthenticationManager(AuthenticationManager authenticationManager)
Deprecated. Sets the Acegi authentication manager. |
void |
setIgnoreFailure(boolean ignoreFailure)
Deprecated. |
| Methods inherited from class org.springframework.ws.soap.security.wss4j.callback.AbstractWsPasswordCallbackHandler |
|---|
handleCustomToken, handleDecrypt, handleEncryptedKeyToken, handleInternal, handleKeyName, handleSecurityContextToken, handleSignature, handleUsernameToken, handleUsernameTokenPrincipal |
| 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 AcegiPlainTextPasswordValidationCallbackHandler()
| Method Detail |
|---|
public void setAuthenticationManager(AuthenticationManager authenticationManager)
public void setIgnoreFailure(boolean ignoreFailure)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanException
protected void handleCleanup(CleanupCallback callback)
throws IOException,
UnsupportedCallbackException
AbstractWsPasswordCallbackHandlerCleanupCallback is passed to AbstractCallbackHandler.handle(Callback[]).
Default implementation throws an UnsupportedCallbackException.
handleCleanup in class AbstractWsPasswordCallbackHandlerIOException
UnsupportedCallbackException
protected void handleUsernameTokenUnknown(WSPasswordCallback callback)
throws IOException,
UnsupportedCallbackException
AbstractWsPasswordCallbackHandlerWSPasswordCallback.USERNAME_TOKEN_UNKNOWN usage.
This method is invoked for a not specified password type or a plain text password type. Only the password is set. The callback class now may check if the username and password
match. If they don't match, the subclass should throw an exception.
Default implementation throws an UnsupportedCallbackException.
handleUsernameTokenUnknown in class AbstractWsPasswordCallbackHandlerIOException
UnsupportedCallbackException
|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||