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

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

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

Author:
Open Cloud
See Also:
Serialized Form

Field Summary
static int _AUTHENTICATE_ONLY
           
static int _AUTHORIZE_AUTHENTICATE
           
static int _AUTHORIZE_ONLY
           
static AuthRequestType AUTHENTICATE_ONLY
          The request being sent is for authentication only, and MUST contain the relevant application specific authentication AVPs that are needed by the Diameter server to authenticate the user.
static AuthRequestType AUTHORIZE_AUTHENTICATE
          The request contains a request for both authentication and authorization.
static AuthRequestType AUTHORIZE_ONLY
          The request being sent is for authorization only, and MUST contain the application specific authorization AVPs that are necessary to identify the service being requested/offered.
 
Method Summary
static AuthRequestType 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

_AUTHENTICATE_ONLY

public static final int _AUTHENTICATE_ONLY
See Also:
Constant Field Values

_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

AUTHENTICATE_ONLY

public static final AuthRequestType AUTHENTICATE_ONLY
The request being sent is for authentication only, and 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 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

fromInt

public static AuthRequestType 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.