Class UsernameCallback

  • All Implemented Interfaces:
    Callback

    public class UsernameCallback
    extends XWSSCallback
    implements Callback
    This Callback should be handled if the username for the username token needs to be supplied at run-time.
    Author:
    XWS-Security Team
    • Constructor Detail

      • UsernameCallback

        public UsernameCallback()
    • Method Detail

      • setUsername

        public void setUsername​(String username)
        Set the Username.
        Parameters:
        username - java.lang.String representing the Username.
      • getUsername

        public String getUsername()
        Get the Username.
        Returns:
        java.lang.String representing the Username.