Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.api.login
Class DefaultCallback

java.lang.Object
  extended by org.nuxeo.runtime.api.login.DefaultCallback
All Implemented Interfaces:
Callback

public class DefaultCallback
extends Object
implements Callback

Copied from jbossx.

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.

Author:
Scott.Stark@jboss.org

Constructor Summary
DefaultCallback()
           
DefaultCallback(String prompt)
           
 
Method Summary
 void clearCredential()
           
 Object getCredential()
           
 String getPrompt()
           
 void setCredential(Object credential)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCallback

public DefaultCallback()

DefaultCallback

public DefaultCallback(String prompt)
Method Detail

getPrompt

public String getPrompt()

getCredential

public Object getCredential()

setCredential

public void setCredential(Object credential)

clearCredential

public void clearCredential()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.