org.jboss.remoting3.security
Class SimpleUserInfo
java.lang.Object
org.jboss.remoting3.security.SimpleUserInfo
- All Implemented Interfaces:
- UserInfo
public class SimpleUserInfo
- extends Object
- implements UserInfo
A simple UserInfo implementation that takes the the supplied Prinicpals to extract the user name for the user.
- Author:
- Darran Lofthouse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleUserInfo
public SimpleUserInfo(Collection<Principal> remotingPrincipals)
getUserName
public String getUserName()
- Description copied from interface:
UserInfo
- Get the name for this user.
- Specified by:
getUserName
in interface UserInfo
- Returns:
- the name
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.