Class UsernameTokenPrincipalCallback

java.lang.Object
org.springframework.ws.soap.security.wss4j2.callback.UsernameTokenPrincipalCallback
All Implemented Interfaces:
Serializable, Callback

public class UsernameTokenPrincipalCallback extends Object implements Callback, Serializable
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:
  • Constructor Details

    • UsernameTokenPrincipalCallback

      public UsernameTokenPrincipalCallback(org.apache.wss4j.common.principal.WSUsernameTokenPrincipalImpl principal)
      Construct a UsernameTokenPrincipalCallback.
  • Method Details

    • getPrincipal

      public org.apache.wss4j.common.principal.WSUsernameTokenPrincipalImpl getPrincipal()
      Get the retrieved Principal.