Class AuthenticationStatus

java.lang.Object
de.bsvrz.dav.daf.main.AuthenticationStatus

public final class AuthenticationStatus extends Object
Informationen über den Authentifizierungsstatus einer Verbindung
  • Method Details

    • notAuthenticated

      public static AuthenticationStatus notAuthenticated()
      Erstellt eine neue Instanz für eine nicht authentifizierte Verbindung
      Returns:
      Instanz
    • authenticated

      public static AuthenticationStatus authenticated(String cipherName)
      Erstellt eine neue Instanz für eine authentifizierte Verbindung
      Parameters:
      cipherName - Verwendeter Authentifizierungsalgorithmus
      Returns:
      Instanz
    • isAuthenticated

      public boolean isAuthenticated()
      Gibt true zurück, wenn die Verbindung authentifiziert ist
      Returns:
      true, wenn die Verbindung authentifiziert ist, sonst false
    • getMethod

      public String getMethod()
      Gibt den Authentifizierungsalgorithmus zurück
      Returns:
      den Authentifizierungsalgorithmus oder einen Leerstring falls nicht authentifiziert
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object