Class ObjectCallback

  • All Implemented Interfaces:
    Callback

    public class ObjectCallback
    extends Object
    implements Callback
    An implementation of Callback that simply obtains an Object to be used as the authentication credential. Interpretation of the Object is up to the LoginModules that validate the credential.
    Version:
    $Revision$
    Author:
    Scott.Stark@jboss.org
    • Constructor Detail

      • ObjectCallback

        public ObjectCallback​(String prompt)
        Initialize the SecurityAssociationCallback
    • Method Detail

      • getPrompt

        public String getPrompt()
      • getCredential

        public Object getCredential()
      • setCredential

        public void setCredential​(Object credential)
      • clearCredential

        public void clearCredential()