Class LoginLATNodeAttribute
- java.lang.Object
-
- org.forgerock.openam.radius.common.Attribute
-
- org.forgerock.openam.radius.common.packet.LoginLATNodeAttribute
-
public class LoginLATNodeAttribute extends Attribute
Class representing the structure of the Framed-Route attribute as specified in section 5.35 of RFC 2865 and able to be instantiated from the on-the-wire bytes or model objects.
-
-
Field Summary
-
Fields inherited from class org.forgerock.openam.radius.common.Attribute
MAX_ATTRIBUTE_LENGTH, MAX_ATTRIBUTE_VALUE_LENGTH
-
-
Constructor Summary
Constructors Constructor Description LoginLATNodeAttribute(byte[] octets)Constructs a new instance from the on-the-wire bytes for this attribute.LoginLATNodeAttribute(String latNode)Create an instance with the specified LAT node identity.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLatNode()Returns the identity of the LAT Node to connect the user to.StringtoStringImpl()Used by super class to log the attribute's contents when packet logging is enabled.
-
-
-
Constructor Detail
-
LoginLATNodeAttribute
public LoginLATNodeAttribute(byte[] octets)
Constructs a new instance from the on-the-wire bytes for this attribute.- Parameters:
octets- the on-the-wire bytes from which to construct this instance
-
LoginLATNodeAttribute
public LoginLATNodeAttribute(String latNode)
Create an instance with the specified LAT node identity.- Parameters:
latNode- the LAT group codes held by the instance
-
-
Method Detail
-
getLatNode
public String getLatNode()
Returns the identity of the LAT Node to connect the user to.- Returns:
- The identity of the LAT Node to connect the user to.
-
toStringImpl
public String toStringImpl()
Used by super class to log the attribute's contents when packet logging is enabled.- Overrides:
toStringImplin classAttribute- Returns:
- content representation for traffic logging
-
-