Class AuthRequestType

  • All Implemented Interfaces:
    Serializable, Enumerated

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

    Documentation from the relevant specification:

    The Auth-Request-Type AVP (AVP Code 274) is of type Enumerated and is included in application-specific auth requests to inform the peers whether a user is to be authenticated only, authorized only, or both. Note any value other than both MAY cause RADIUS interoperability issues. The following values are defined:

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

      • _AUTHORIZE_AUTHENTICATE

        public static final int _AUTHORIZE_AUTHENTICATE
        See Also:
        Constant Field Values
      • AUTHENTICATE_ONLY

        public static final AuthRequestType AUTHENTICATE_ONLY
        The request being sent is for authentication only, and it MUST contain the relevant application-specific authentication AVPs that are needed by the Diameter server to authenticate the user.
      • AUTHORIZE_ONLY

        public static final AuthRequestType AUTHORIZE_ONLY
        The request being sent is for authorization only, and it MUST contain the application-specific authorization AVPs that are necessary to identify the service being requested/offered.
      • AUTHORIZE_AUTHENTICATE

        public static final AuthRequestType AUTHORIZE_AUTHENTICATE
        The request contains a request for both authentication and authorization. The request MUST include both the relevant application-specific authentication information and authorization information necessary to identify the service being requested/ offered.
    • 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