public class AuthenticationStatus
extends java.lang.Object
Informationen über den Authentifizierungsstatus einer Verbindung
Modifier and Type | Field and Description |
---|---|
private boolean |
_isAuthenticated |
private java.lang.String |
_method |
Modifier | Constructor and Description |
---|---|
private |
AuthenticationStatus(boolean isAuthenticated,
java.lang.String method)
Erstellt eine neue Instanz
|
Modifier and Type | Method and Description |
---|---|
static AuthenticationStatus |
authenticated(java.lang.String cipherName)
Erstellt eine neue Instanz für eine authentifizierte Verbindung
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getMethod()
Gibt den Authentifizierungsalgorithmus zurück
|
int |
hashCode() |
boolean |
isAuthenticated()
Gibt true zurück, wenn die Verbindung authentifiziert ist
|
static AuthenticationStatus |
notAuthenticated()
Erstellt eine neue Instanz für eine nicht authentifizierte Verbindung
|
java.lang.String |
toString() |
private final boolean _isAuthenticated
private final java.lang.String _method
private AuthenticationStatus(boolean isAuthenticated, java.lang.String method)
Erstellt eine neue Instanz
isAuthenticated
- Ist die Verbindung authentifiziert?method
- Verwendete Authentifizierungpublic static AuthenticationStatus notAuthenticated()
Erstellt eine neue Instanz für eine nicht authentifizierte Verbindung
public static AuthenticationStatus authenticated(java.lang.String cipherName)
Erstellt eine neue Instanz für eine authentifizierte Verbindung
cipherName
- Verwendeter Authentifizierungsalgorithmuspublic boolean isAuthenticated()
Gibt true zurück, wenn die Verbindung authentifiziert ist
public java.lang.String getMethod()
Gibt den Authentifizierungsalgorithmus zurück
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object