de.bsvrz.dav.dav.main
Class AuthentificationComponent
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthentificationComponent
public AuthentificationComponent(AuthentificationProcess authentificationProcess)
- Parameters:
authentificationProcess
- Verschlüsslungsverfahren, das benutzt wird um Authentifizierungsdaten zu prüfen.
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.