Class ReAuthRequestType
- java.lang.Object
-
- org.jainslee.resources.diameter.base.types.ReAuthRequestType
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class ReAuthRequestType extends Object implements Serializable, Enumerated
Java class to represent the ReAuthRequestType enumerated type. Documentation from the relevant specification: The Re-Auth-Request-Type AVP (AVP Code 285) is of type Enumerated and is included in application-specific auth answers to inform the client of the action expected upon expiration of the Authorization-Lifetime. If the answer message contains an Authorization-Lifetime AVP with a positive value, the Re-Auth-Request-Type AVP MUST be present in an answer message. The following values are defined:- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_AUTHORIZE_AUTHENTICATE
static int
_AUTHORIZE_ONLY
static ReAuthRequestType
AUTHORIZE_AUTHENTICATE
An authentication and authorization re-auth is expected upon expiration of the Authorization-Lifetime.static ReAuthRequestType
AUTHORIZE_ONLY
An authorization only re-auth is expected upon expiration of the Authorization-Lifetime.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReAuthRequestType
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_AUTHORIZE_ONLY
public static final int _AUTHORIZE_ONLY
- See Also:
- Constant Field Values
-
_AUTHORIZE_AUTHENTICATE
public static final int _AUTHORIZE_AUTHENTICATE
- See Also:
- Constant Field Values
-
AUTHORIZE_ONLY
public static final ReAuthRequestType AUTHORIZE_ONLY
An authorization only re-auth is expected upon expiration of the Authorization-Lifetime. This is the default value if the AVP is not present in answer messages that include the Authorization- Lifetime.
-
AUTHORIZE_AUTHENTICATE
public static final ReAuthRequestType AUTHORIZE_AUTHENTICATE
An authentication and authorization re-auth is expected upon expiration of the Authorization-Lifetime.
-
-
Method Detail
-
fromInt
public static ReAuthRequestType fromInt(int type)
-
getValue
public int getValue()
Description copied from interface:Enumerated
Return the value of this instance of this enumerated type.- Specified by:
getValue
in interfaceEnumerated
- Returns:
- value
-
-