net.java.slee.resource.diameter.base.events.avp
Class ReAuthRequestTypeAvp

java.lang.Object
  extended by net.java.slee.resource.diameter.base.events.avp.ReAuthRequestTypeAvp
All Implemented Interfaces:
java.io.Serializable, Enumerated

public class ReAuthRequestTypeAvp
extends java.lang.Object
implements java.io.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.

Author:
Open Cloud
See Also:
Serialized Form

Field Summary
static int _AUTHORIZE_AUTHENTICATE
           
static int _AUTHORIZE_ONLY
           
static ReAuthRequestTypeAvp AUTHORIZE_AUTHENTICATE
          An authentication and authorization re-auth is expected upon expiration of the Authorization-Lifetime.
static ReAuthRequestTypeAvp AUTHORIZE_ONLY
          An authorization only re-auth is expected upon expiration of the Authorization-Lifetime.
 
Method Summary
static ReAuthRequestTypeAvp fromInt(int type)
           
 int getValue()
          Return the value of this instance of this enumerated type.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 ReAuthRequestTypeAvp 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 ReAuthRequestTypeAvp AUTHORIZE_AUTHENTICATE
An authentication and authorization re-auth is expected upon expiration of the Authorization-Lifetime.

Method Detail

fromInt

public static ReAuthRequestTypeAvp 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 interface Enumerated
Returns:
value

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008. All Rights Reserved.