net.larsan.norna.service.user
Class NullIndirection

java.lang.Object
  |
  +--net.larsan.norna.service.user.Indirection
        |
        +--net.larsan.norna.service.user.NullIndirection

public class NullIndirection
extends Indirection

Trivial indirection. This indirection does not apply any tranformations before comparing its credentials with the password.

Version:
Alpha-0.2 / 2002-10-06 21:37
Author:
Lars J. Nilsson

Field Summary
 
Fields inherited from class net.larsan.norna.service.user.Indirection
credentials, options
 
Constructor Summary
NullIndirection()
           
 
Method Summary
 java.lang.String getID()
          Get id
 boolean matches(char[] pass)
          Trivial implementation.
 
Methods inherited from class net.larsan.norna.service.user.Indirection
clearCredentials, setCredentials, setOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullIndirection

public NullIndirection()
Method Detail

matches

public boolean matches(char[] pass)
Trivial implementation.

Specified by:
matches in class Indirection
Parameters:
pass - Clear-text password
Returns:
true If the password indirectly matches the credentials

getID

public java.lang.String getID()
Get id

Specified by:
getID in class Indirection
Returns:
The Indirection id.