|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.n52.security.authentication.callbacks.CredentialCallback
public class CredentialCallback
Class CredentialCallback describes the requirement for a special credential class. The callback is used by login modules to request special credential information.
Constructor Summary | |
---|---|
CredentialCallback(java.lang.Class requiredCredentialClass)
Constructor creates a new instance, this callback asks for a credential with the given class. |
|
CredentialCallback(Credential credential)
Constructor creates a new instance, this callback asks for a credential of the given default value. |
Method Summary | |
---|---|
Credential |
getCredential()
Method gets the credential. |
java.lang.Class |
getRequiredCredentialClass()
Method gets the requiredCredentialClass. |
void |
setCredential(Credential credential)
Method sets the credential. |
void |
setRequiredCredentialClass(java.lang.Class requiredCredentialClass)
Method sets the requiredCredentialClass. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CredentialCallback(java.lang.Class requiredCredentialClass)
requiredCredentialClass
- the requiredCredentialClass.public CredentialCallback(Credential credential)
credential
- the credential.Method Detail |
---|
public java.lang.Class getRequiredCredentialClass()
public void setRequiredCredentialClass(java.lang.Class requiredCredentialClass)
requiredCredentialClass
- the requiredCredentialClass.public Credential getCredential()
public void setCredential(Credential credential)
credential
- the credential.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |