|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReAuthRequest
Defines an interface representing the Re-Auth-Request command. From the Diameter Base Protocol (rfc3588.txt) specification:
8.3.1. Re-Auth-Request
The Re-Auth-Request (RAR), indicated by the Command-Code set to 258
and the message flags' 'R' bit set, may be sent by any server to the
access device that is providing session service, to request that the
user be re-authenticated and/or re-authorized.
Message Format
<Re-Auth-Request> ::= < Diameter Header: 258, REQ, PXY >
< Session-Id >
{ Origin-Host }
{ Origin-Realm }
{ Destination-Realm }
{ Destination-Host }
{ Auth-Application-Id }
{ Re-Auth-Request-Type }
[ User-Name ]
[ Origin-State-Id ]
* [ Proxy-Info ]
* [ Route-Record ]
* [ AVP ]
| Field Summary | |
|---|---|
static int |
commandCode
|
| Method Summary | |
|---|---|
long |
getAuthApplicationId()
Returns the value of the Auth-Application-Id AVP, of type Unsigned32. |
long |
getOriginStateId()
Returns the value of the Origin-State-Id AVP, of type Unsigned32. |
ProxyInfoAvp[] |
getProxyInfos()
Returns the set of Proxy-Info AVPs. |
ReAuthRequestTypeAvp |
getReAuthRequestType()
Returns the value of the Re-Auth-Request-Type AVP, of type Enumerated. |
DiameterIdentityAvp[] |
getRouteRecords()
Returns the set of Route-Record AVPs. |
java.lang.String |
getUserName()
Returns the value of the User-Name AVP, of type UTF8String. |
boolean |
hasAuthApplicationId()
Returns true if the Auth-Application-Id AVP is present in the message. |
boolean |
hasDestinationHost()
Returns true if the Destination-Host AVP is present in the message. |
boolean |
hasDestinationRealm()
Returns true if the Destination-Realm AVP is present in the message. |
boolean |
hasOriginStateId()
Returns true if the Origin-State-Id AVP is present in the message. |
boolean |
hasReAuthRequestType()
Returns true if the Re-Auth-Request-Type AVP is present in the message. |
boolean |
hasUserName()
Returns true if the User-Name AVP is present in the message. |
void |
setAuthApplicationId(long authApplicationId)
Sets the value of the Auth-Application-Id AVP, of type Unsigned32. |
void |
setOriginStateId(long originStateId)
Sets the value of the Origin-State-Id AVP, of type Unsigned32. |
void |
setProxyInfo(ProxyInfoAvp proxyInfo)
Sets a single Proxy-Info AVP in the message, of type Grouped. |
void |
setProxyInfos(ProxyInfoAvp[] proxyInfos)
Sets the set of Proxy-Info AVPs, with all the values in the given array. |
void |
setReAuthRequestType(ReAuthRequestTypeAvp reAuthRequestType)
Sets the value of the Re-Auth-Request-Type AVP, of type Enumerated. |
void |
setRouteRecord(DiameterIdentityAvp routeRecord)
Sets a single Route-Record AVP in the message, of type DiameterIdentity. |
void |
setRouteRecords(DiameterIdentityAvp[] routeRecords)
Sets the set of Route-Record AVPs, with all the values in the given array. |
void |
setUserName(java.lang.String userName)
Sets the value of the User-Name AVP, of type UTF8String. |
| Methods inherited from interface net.java.slee.resource.diameter.base.events.DiameterMessage |
|---|
clone, getAvps, getCommand, getDestinationHost, getDestinationRealm, getExtensionAvps, getHeader, getOriginHost, getOriginRealm, getSessionId, hasOriginHost, hasOriginRealm, hasSessionId, setDestinationHost, setDestinationRealm, setExtensionAvps, setOriginHost, setOriginRealm, setSessionId |
| Field Detail |
|---|
static final int commandCode
| Method Detail |
|---|
boolean hasDestinationRealm()
boolean hasDestinationHost()
boolean hasAuthApplicationId()
long getAuthApplicationId()
hasAuthApplicationId() to check the existence of this AVP.
java.lang.IllegalStateException - if the Auth-Application-Id AVP has not been set on this messagevoid setAuthApplicationId(long authApplicationId)
java.lang.IllegalStateException - if setAuthApplicationId has already been calledboolean hasReAuthRequestType()
ReAuthRequestTypeAvp getReAuthRequestType()
void setReAuthRequestType(ReAuthRequestTypeAvp reAuthRequestType)
java.lang.IllegalStateException - if setReAuthRequestType has already been calledboolean hasUserName()
java.lang.String getUserName()
void setUserName(java.lang.String userName)
java.lang.IllegalStateException - if setUserName has already been calledboolean hasOriginStateId()
long getOriginStateId()
hasOriginStateId() to check the existence of this AVP.
java.lang.IllegalStateException - if the Origin-State-Id AVP has not been set on this messagevoid setOriginStateId(long originStateId)
java.lang.IllegalStateException - if setOriginStateId has already been calledProxyInfoAvp[] getProxyInfos()
void setProxyInfo(ProxyInfoAvp proxyInfo)
java.lang.IllegalStateException - if setProxyInfo or setProxyInfos
has already been calledvoid setProxyInfos(ProxyInfoAvp[] proxyInfos)
java.lang.IllegalStateException - if setProxyInfo or setProxyInfos
has already been calledDiameterIdentityAvp[] getRouteRecords()
void setRouteRecord(DiameterIdentityAvp routeRecord)
java.lang.IllegalStateException - if setRouteRecord or setRouteRecords
has already been calledvoid setRouteRecords(DiameterIdentityAvp[] routeRecords)
java.lang.IllegalStateException - if setRouteRecord or setRouteRecords
has already been called
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||