de.bsvrz.dav.dav.main
Class AuthentificationComponent

java.lang.Object
  extended by de.bsvrz.dav.dav.main.AuthentificationComponent

public class AuthentificationComponent
extends Object

Diese Klasse enhält die Komponenten zur Authentifizierung eines Benutzers/Applikation.

Author:
Kappich Systemberatung

Constructor Summary
AuthentificationComponent(AuthentificationProcess authentificationProcess)
           
 
Method Summary
 AuthentificationProcess getAuthentificationProcess()
          Gibt den Authentifikationsprozess zurück, der benutzt wird um die Authentifizierung eines Benutzers zu prüfen.
 String getAuthentificationText(String applicationName)
          Generiert für eine Applikation einen Zufallstext und speichert diesen.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthentificationComponent

public AuthentificationComponent(AuthentificationProcess authentificationProcess)
Parameters:
authentificationProcess - Verschlüsslungsverfahren, das benutzt wird um Authentifizierungsdaten zu prüfen.
Method Detail

getAuthentificationProcess

public final AuthentificationProcess getAuthentificationProcess()
Gibt den Authentifikationsprozess zurück, der benutzt wird um die Authentifizierung eines Benutzers zu prüfen.

Returns:
authentificationProcess der Authentifikationsprozess

getAuthentificationText

public final String getAuthentificationText(String applicationName)
Generiert für eine Applikation einen Zufallstext und speichert diesen.

Parameters:
applicationName - Name der Applikation, für den ein Zufallstext erzeugt werden soll.
Returns:
Zufallstext. Jeder Aufruf der Methode, mit der selben Applikation, gibt den selben Zufallstext zurück.