com.ibm.commerce.foundation.common.security.auth.callback

Class LTPATokenCallback

  • java.lang.Object
    • com.ibm.commerce.foundation.common.security.auth.callback.LTPATokenCallback
  • All Implemented Interfaces:
    javax.security.auth.callback.Callback


    public class LTPATokenCallback
    extends java.lang.Object
    implements javax.security.auth.callback.Callback
    The callback object for the LTPA token. This callback is used to indicate the to use the LTPA token as a form of authorization.
    • Constructor Summary

      Constructors 
      Constructor and Description
      LTPATokenCallback(java.lang.String prompt)
      Creates an instance of the LTPA callback object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getLTPAToken()
      This method returns the LTPA token.
      java.lang.String getPrompt()
      This method returns the prompt to ask for the LTPA token.
      void setLTPAToken(java.lang.String ltpaToken)
      This method sets the LTPA token.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LTPATokenCallback

        public LTPATokenCallback(java.lang.String prompt)
        Creates an instance of the LTPA callback object.
        Parameters:
        prompt - The question to ask to enter the LTPA token.
    • Method Detail

      • getLTPAToken

        public java.lang.String getLTPAToken()
        This method returns the LTPA token.
        Returns:
        The LTPA token.
      • setLTPAToken

        public void setLTPAToken(java.lang.String ltpaToken)
        This method sets the LTPA token.
        Parameters:
        ltpaToken - The LTPA token.
      • getPrompt

        public java.lang.String getPrompt()
        This method returns the prompt to ask for the LTPA token.
        Returns:
        The prompt to ask for the LTPA token.