net.jradius.session
Class RadiusSessionSupport
java.lang.Object
net.jradius.session.RadiusSessionSupport
public class RadiusSessionSupport
- extends Object
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 |
RadiusSessionSupport
public RadiusSessionSupport()
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.