net.sourceforge.jradiusclient.attributes
Class UserNameAttribute

java.lang.Object
  |
  +--net.sourceforge.jradiusclient.RadiusAttribute
        |
        +--net.sourceforge.jradiusclient.attributes.UserNameAttribute

public class UserNameAttribute
extends RadiusAttribute

Released under the LGPL

Version:
$Revision: 1.3 $
Author:
Robert J. Loihl

Constructor Summary
UserNameAttribute(java.lang.String username)
          Constructs a new UserNameAttribute for use in RadiusPackets
 
Method Summary
 java.lang.String getUserName()
          gets the username stored in this object
 
Methods inherited from class net.sourceforge.jradiusclient.RadiusAttribute
getBytes, getType, getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserNameAttribute

public UserNameAttribute(java.lang.String username)
                  throws InvalidParameterException
Constructs a new UserNameAttribute for use in RadiusPackets

Parameters:
username - java.lang.String
Throws:
InvalidParameterException
Method Detail

getUserName

public java.lang.String getUserName()
gets the username stored in this object

Returns:
java.lang.String the user name stored in this attribute