JBoss Remoting 3 3.2.13.GA-redhat-1

org.jboss.remoting3.security
Class SimpleUserInfo

java.lang.Object
  extended by 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

Constructor Summary
SimpleUserInfo(Collection<Principal> remotingPrincipals)
           
 
Method Summary
 String getUserName()
          Get the name for this user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleUserInfo

public SimpleUserInfo(Collection<Principal> remotingPrincipals)
Method Detail

getUserName

public String getUserName()
Description copied from interface: UserInfo
Get the name for this user.

Specified by:
getUserName in interface UserInfo
Returns:
the name

JBoss Remoting 3 3.2.13.GA-redhat-1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.