Class AuthSessionState

  • All Implemented Interfaces:
    Serializable, Enumerated

    public class AuthSessionState
    extends Object
    implements Serializable, Enumerated
    Java class to represent the AuthSessionState enumerated type.

    Documentation from the relevant specification:

    The Auth-Session-State AVP (AVP Code 277) is of type Enumerated and specifies whether state is maintained for a particular session. The client MAY include this AVP in requests as a hint to the server, but the value in the server's answer message is binding. The following values are supported:

    Author:
    Open Cloud
    See Also:
    Serialized Form
    • Field Detail

      • STATE_MAINTAINED

        public static final AuthSessionState STATE_MAINTAINED
        This value is used to specify that session state is being maintained, and the access device MUST issue a session termination message when service to the user is terminated. This is the default value.
      • NO_STATE_MAINTAINED

        public static final AuthSessionState NO_STATE_MAINTAINED
        This value is used to specify that no session termination messages will be sent by the access device upon expiration of the Authorization-Lifetime.
    • Method Detail

      • getValue

        public int getValue()
        Description copied from interface: Enumerated
        Return the value of this instance of this enumerated type.
        Specified by:
        getValue in interface Enumerated
        Returns:
        value