net.sourceforge.hivelock
Class DefaultPrincipalHelperImpl

java.lang.Object
  extended by net.sourceforge.hivelock.DefaultPrincipalHelperImpl
All Implemented Interfaces:
PrincipalHelperService

public class DefaultPrincipalHelperImpl
extends java.lang.Object
implements PrincipalHelperService


Constructor Summary
DefaultPrincipalHelperImpl()
           
 
Method Summary
 java.lang.String getLogin(java.security.Principal userPrincipal)
           
 java.lang.String getName(java.security.Principal userPrincipal)
           
 java.lang.String[] getRoles(java.security.Principal userPrincipal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPrincipalHelperImpl

public DefaultPrincipalHelperImpl()
Method Detail

getLogin

public java.lang.String getLogin(java.security.Principal userPrincipal)
Specified by:
getLogin in interface PrincipalHelperService

getName

public java.lang.String getName(java.security.Principal userPrincipal)
Specified by:
getName in interface PrincipalHelperService

getRoles

public java.lang.String[] getRoles(java.security.Principal userPrincipal)
Specified by:
getRoles in interface PrincipalHelperService