net.jradius.session
Class RadiusSessionSupport

java.lang.Object
  extended by net.jradius.session.RadiusSessionSupport

public class RadiusSessionSupport
extends Object


Constructor Summary
RadiusSessionSupport()
           
 
Method Summary
static String[] splitUserName(String username)
          Split the User-Name into username plus realm (checks for prefix realm first - realm/username, then postfix realms - username@realm)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadiusSessionSupport

public RadiusSessionSupport()
Method Detail

splitUserName

public static String[] splitUserName(String username)
Split the User-Name into username plus realm (checks for prefix realm first - realm/username, then postfix realms - username@realm)

Parameters:
username - The username to parse
Returns:
Returns an array of 2 Strings { username, realm } if a realm is found, otherwise it returns null


Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.