it.eng.spagobi.security
Class ExoPortalSecurityProviderImpl

java.lang.Object
  extended byit.eng.spagobi.security.ExoPortalSecurityProviderImpl
All Implemented Interfaces:
it.eng.spagobi.security.IPortalSecurityProvider

public class ExoPortalSecurityProviderImpl
extends java.lang.Object
implements it.eng.spagobi.security.IPortalSecurityProvider

Implements the IPortalSecurityProvider interface defining method to get the system and user roles.


Constructor Summary
ExoPortalSecurityProviderImpl()
           
 
Method Summary
 java.util.List getRoles()
          Get all the portal roles
 java.util.List getUserRoles(java.lang.String user, java.lang.String passwd)
          Get the list of the user roles.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExoPortalSecurityProviderImpl

public ExoPortalSecurityProviderImpl()
Method Detail

getRoles

public java.util.List getRoles()
Get all the portal roles

Specified by:
getRoles in interface it.eng.spagobi.security.IPortalSecurityProvider
Returns:
List of the portal roles

getUserRoles

public java.util.List getUserRoles(java.lang.String user,
                                   java.lang.String passwd)
Get the list of the user roles. If the user doesn't exist the roles list is empty

Specified by:
getUserRoles in interface it.eng.spagobi.security.IPortalSecurityProvider
Parameters:
user - Username
passwd - Password of the user
Returns:
List of user roles