Package de.bsvrz.dav.daf.main
Class AuthenticationStatus
java.lang.Object
de.bsvrz.dav.daf.main.AuthenticationStatus
Informationen über den Authentifizierungsstatus einer Verbindung
-
Method Summary
Modifier and TypeMethodDescriptionstatic AuthenticationStatusauthenticated(String cipherName) Erstellt eine neue Instanz für eine authentifizierte VerbindungbooleanGibt den Authentifizierungsalgorithmus zurückinthashCode()booleanGibttruezurück, wenn die Verbindung authentifiziert iststatic AuthenticationStatusErstellt eine neue Instanz für eine nicht authentifizierte VerbindungtoString()
-
Method Details
-
notAuthenticated
Erstellt eine neue Instanz für eine nicht authentifizierte Verbindung- Returns:
- Instanz
-
authenticated
Erstellt eine neue Instanz für eine authentifizierte Verbindung- Parameters:
cipherName- Verwendeter Authentifizierungsalgorithmus- Returns:
- Instanz
-
isAuthenticated
public boolean isAuthenticated()Gibttruezurück, wenn die Verbindung authentifiziert ist- Returns:
true, wenn die Verbindung authentifiziert ist, sonstfalse
-
getMethod
Gibt den Authentifizierungsalgorithmus zurück- Returns:
- den Authentifizierungsalgorithmus oder einen Leerstring falls nicht authentifiziert
-
equals
-
hashCode
public int hashCode() -
toString
-