Enum Class AuthenticationErrorOuterClass.AuthenticationError

java.lang.Object
java.lang.Enum<AuthenticationErrorOuterClass.AuthenticationError>
Arp.System.Security.Grpc.AuthenticationErrorOuterClass.AuthenticationError
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<AuthenticationErrorOuterClass.AuthenticationError>, Constable
Enclosing class:
AuthenticationErrorOuterClass

public static enum AuthenticationErrorOuterClass.AuthenticationError extends Enum<AuthenticationErrorOuterClass.AuthenticationError> implements com.google.protobuf.ProtocolMessageEnum
/ <summary>
 / This enum is used by several file services to specify the file traits to get or set; respectively.
 / </summary>
 
Protobuf enum Arp.System.Security.Grpc.AuthenticationError
  • Enum Constant Details

    • AE_None

      / <summary>
       / An authentication was successfull in example it created a new session.
       / </summary>
       
      AE_None = 0;
    • AE_InvalidCredentials

      public static final AuthenticationErrorOuterClass.AuthenticationError AE_InvalidCredentials
      / <summary>
       / An authentication failed because of wrong credentials (i.e. wrong password and / or username).
       / </summary>
       / <remarks>
       / <para>
       / By intent it is not distinguished whether or not the authentication failed due to a wrong password or a wrong username.
       / Such information would help an attacker to identify valid user names and then concentrate attacks on them.
       / </para>
       / <para>
       / Credentials can be 2-tuples from username and password as well as other items in the future.
       / </para>
       / </remarks>
       
      AE_InvalidCredentials = 1;
    • AE_PenaltyDelayActive

      public static final AuthenticationErrorOuterClass.AuthenticationError AE_PenaltyDelayActive
      / <summary>
       / An authentication operation was rejected before the credentials (i.e. username and password) have been checked due to former authentication failures.
       / </summary>
       / <remarks>
       / Such rejections happen during a delay period after a former failed authentication to slow down brute force attacks.
       / </remarks>
       
      AE_PenaltyDelayActive = 2;
    • AE_SessionLimitReached

      public static final AuthenticationErrorOuterClass.AuthenticationError AE_SessionLimitReached
      / <summary>
       / The capacity within the device to create more sessions has been reached.
       / </summary>
       / <remarks>
       / Please note that limits may be specific to particular groups of users. In example there may be a pool of sessions which is reserved
       / for administrative sessions. Then it may happen that authentications for "normal" users are failing with this error even though
       / the pool for administrative sessions still has free capacity.
       / </remarks>
       
      AE_SessionLimitReached = 3;
    • AE_UserPasswordExpired

      public static final AuthenticationErrorOuterClass.AuthenticationError AE_UserPasswordExpired
      / <summary>
       / The currently set password for the user has expired and needs to be changed.
       / </summary>
       / <remarks>
       / Assigned roles to users can require the enforcement of more restrictive password settings by the usermanager,
       / including a limited lifespan for passwords. Roles don't have to require password expiration.
       / These settings can be managed by the administrator.
       / </remarks>
       
      AE_UserPasswordExpired = 4;
    • AE_TryAgainLater

      public static final AuthenticationErrorOuterClass.AuthenticationError AE_TryAgainLater
      / <summary>
       / The system is temporarily unable to answer authentication requests.
       / </summary>
       / <remarks>
       / With this error the caller shall try again at a later point in time - no earlier than two seconds later.
       / This error can happen if the system is still initializing itself during startup or
       / reinitializing itself after a reconfiguration.
       / </remarks>
       
      AE_TryAgainLater = 5;
    • UNRECOGNIZED

      public static final AuthenticationErrorOuterClass.AuthenticationError UNRECOGNIZED
  • Field Details

    • AE_None_VALUE

      public static final int AE_None_VALUE
      / <summary>
       / An authentication was successfull in example it created a new session.
       / </summary>
       
      AE_None = 0;
      See Also:
    • AE_InvalidCredentials_VALUE

      public static final int AE_InvalidCredentials_VALUE
      / <summary>
       / An authentication failed because of wrong credentials (i.e. wrong password and / or username).
       / </summary>
       / <remarks>
       / <para>
       / By intent it is not distinguished whether or not the authentication failed due to a wrong password or a wrong username.
       / Such information would help an attacker to identify valid user names and then concentrate attacks on them.
       / </para>
       / <para>
       / Credentials can be 2-tuples from username and password as well as other items in the future.
       / </para>
       / </remarks>
       
      AE_InvalidCredentials = 1;
      See Also:
    • AE_PenaltyDelayActive_VALUE

      public static final int AE_PenaltyDelayActive_VALUE
      / <summary>
       / An authentication operation was rejected before the credentials (i.e. username and password) have been checked due to former authentication failures.
       / </summary>
       / <remarks>
       / Such rejections happen during a delay period after a former failed authentication to slow down brute force attacks.
       / </remarks>
       
      AE_PenaltyDelayActive = 2;
      See Also:
    • AE_SessionLimitReached_VALUE

      public static final int AE_SessionLimitReached_VALUE
      / <summary>
       / The capacity within the device to create more sessions has been reached.
       / </summary>
       / <remarks>
       / Please note that limits may be specific to particular groups of users. In example there may be a pool of sessions which is reserved
       / for administrative sessions. Then it may happen that authentications for "normal" users are failing with this error even though
       / the pool for administrative sessions still has free capacity.
       / </remarks>
       
      AE_SessionLimitReached = 3;
      See Also:
    • AE_UserPasswordExpired_VALUE

      public static final int AE_UserPasswordExpired_VALUE
      / <summary>
       / The currently set password for the user has expired and needs to be changed.
       / </summary>
       / <remarks>
       / Assigned roles to users can require the enforcement of more restrictive password settings by the usermanager,
       / including a limited lifespan for passwords. Roles don't have to require password expiration.
       / These settings can be managed by the administrator.
       / </remarks>
       
      AE_UserPasswordExpired = 4;
      See Also:
    • AE_TryAgainLater_VALUE

      public static final int AE_TryAgainLater_VALUE
      / <summary>
       / The system is temporarily unable to answer authentication requests.
       / </summary>
       / <remarks>
       / With this error the caller shall try again at a later point in time - no earlier than two seconds later.
       / This error can happen if the system is still initializing itself during startup or
       / reinitializing itself after a reconfiguration.
       / </remarks>
       
      AE_TryAgainLater = 5;
      See Also:
    • internalValueMap

      private static final com.google.protobuf.Internal.EnumLiteMap<AuthenticationErrorOuterClass.AuthenticationError> internalValueMap
    • VALUES

    • value

      private final int value
  • Constructor Details

    • AuthenticationError

      private AuthenticationError(int value)
  • Method Details

    • values

      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static AuthenticationErrorOuterClass.AuthenticationError forNumber(int value)
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<AuthenticationErrorOuterClass.AuthenticationError> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static AuthenticationErrorOuterClass.AuthenticationError valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null