|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.larsan.norna.service.user.Indirection
An indirection is a base class for indirective password verificators. Indirections should only be created by factories to prevent password snooping.
| Field Summary | |
protected char[] |
credentials
|
protected java.util.Map |
options
|
| Constructor Summary | |
Indirection()
|
|
| Method Summary | |
void |
clearCredentials()
Clear credentials from this object. |
abstract java.lang.String |
getID()
Get indirection id. |
abstract boolean |
matches(char[] pass)
Check if a given credential input matches a password according to the current indirection. |
void |
setCredentials(char[] cred)
Set credentials this indirection should match agains. |
void |
setOptions(java.util.Map options)
Set options for this indirection to use. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.Map options
protected char[] credentials
| Constructor Detail |
public Indirection()
| Method Detail |
public void setOptions(java.util.Map options)
options - Indirection optionspublic void setCredentials(char[] cred)
cred - Input credentials.public void clearCredentials()
public abstract boolean matches(char[] pass)
pass - Clear-text password
public abstract java.lang.String getID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||