Class UsernameTokenPrincipalCallback
java.lang.Object
org.springframework.ws.soap.security.wss4j2.callback.UsernameTokenPrincipalCallback
- All Implemented Interfaces:
Serializable
,Callback
Underlying security services instantiate and pass a
UsernameTokenPrincipalCallback
to the handle
method of a CallbackHandler
to pass a security WSUsernameTokenPrincipal
.- Since:
- 2.3.0
- Author:
- Arjen Poutsma, Jamin Hitchcock
- See Also:
-
WSUsernameTokenPrincipalImpl
- Serialized Form
-
Constructor Summary
ConstructorDescriptionUsernameTokenPrincipalCallback
(org.apache.wss4j.common.principal.WSUsernameTokenPrincipalImpl principal) Construct aUsernameTokenPrincipalCallback
. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.wss4j.common.principal.WSUsernameTokenPrincipalImpl
Get the retrievedPrincipal
.
-
Constructor Details
-
UsernameTokenPrincipalCallback
public UsernameTokenPrincipalCallback(org.apache.wss4j.common.principal.WSUsernameTokenPrincipalImpl principal) Construct aUsernameTokenPrincipalCallback
.
-
-
Method Details
-
getPrincipal
public org.apache.wss4j.common.principal.WSUsernameTokenPrincipalImpl getPrincipal()Get the retrievedPrincipal
.
-