it.eng.spagobi.security
Class XmlUserProfileFactoryImpl.SpagoBIUserProfile

java.lang.Object
  extended by it.eng.spagobi.security.XmlUserProfileFactoryImpl.SpagoBIUserProfile
All Implemented Interfaces:
it.eng.spago.security.IEngUserProfile, java.io.Serializable
Enclosing class:
XmlUserProfileFactoryImpl

public class XmlUserProfileFactoryImpl.SpagoBIUserProfile
extends java.lang.Object
implements it.eng.spago.security.IEngUserProfile

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface it.eng.spago.security.IEngUserProfile
ENG_USER_PROFILE
 
Constructor Summary
XmlUserProfileFactoryImpl.SpagoBIUserProfile(java.lang.String userName, java.util.Collection functs, java.util.Collection roles, java.util.Map attrs)
           
 
Method Summary
 java.util.Collection getFunctionalities()
           
 java.util.Collection getFunctionalitiesByRole(java.lang.String arg0)
           
 java.util.Collection getRoles()
           
 java.lang.Object getUserAttribute(java.lang.String arg0)
           
 java.util.Collection getUserAttributeNames()
           
 java.lang.Object getUserUniqueIdentifier()
           
 boolean hasRole(java.lang.String arg0)
           
 boolean isAbleToExecuteAction(java.lang.String arg0)
           
 boolean isAbleToExecuteModuleInPage(java.lang.String arg0, java.lang.String arg1)
           
 void setApplication(java.lang.String arg0)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlUserProfileFactoryImpl.SpagoBIUserProfile

public XmlUserProfileFactoryImpl.SpagoBIUserProfile(java.lang.String userName,
                                                    java.util.Collection functs,
                                                    java.util.Collection roles,
                                                    java.util.Map attrs)
Method Detail

getFunctionalities

public java.util.Collection getFunctionalities()
                                        throws it.eng.spago.error.EMFInternalError
Specified by:
getFunctionalities in interface it.eng.spago.security.IEngUserProfile
Throws:
it.eng.spago.error.EMFInternalError

getFunctionalitiesByRole

public java.util.Collection getFunctionalitiesByRole(java.lang.String arg0)
                                              throws it.eng.spago.error.EMFInternalError
Throws:
it.eng.spago.error.EMFInternalError

getRoles

public java.util.Collection getRoles()
                              throws it.eng.spago.error.EMFInternalError
Specified by:
getRoles in interface it.eng.spago.security.IEngUserProfile
Throws:
it.eng.spago.error.EMFInternalError

getUserAttribute

public java.lang.Object getUserAttribute(java.lang.String arg0)
                                  throws it.eng.spago.error.EMFInternalError
Specified by:
getUserAttribute in interface it.eng.spago.security.IEngUserProfile
Throws:
it.eng.spago.error.EMFInternalError

getUserAttributeNames

public java.util.Collection getUserAttributeNames()
Specified by:
getUserAttributeNames in interface it.eng.spago.security.IEngUserProfile

getUserUniqueIdentifier

public java.lang.Object getUserUniqueIdentifier()
Specified by:
getUserUniqueIdentifier in interface it.eng.spago.security.IEngUserProfile

hasRole

public boolean hasRole(java.lang.String arg0)
                throws it.eng.spago.error.EMFInternalError
Specified by:
hasRole in interface it.eng.spago.security.IEngUserProfile
Throws:
it.eng.spago.error.EMFInternalError

isAbleToExecuteAction

public boolean isAbleToExecuteAction(java.lang.String arg0)
                              throws it.eng.spago.error.EMFInternalError
Specified by:
isAbleToExecuteAction in interface it.eng.spago.security.IEngUserProfile
Throws:
it.eng.spago.error.EMFInternalError

isAbleToExecuteModuleInPage

public boolean isAbleToExecuteModuleInPage(java.lang.String arg0,
                                           java.lang.String arg1)
                                    throws it.eng.spago.error.EMFInternalError
Specified by:
isAbleToExecuteModuleInPage in interface it.eng.spago.security.IEngUserProfile
Throws:
it.eng.spago.error.EMFInternalError

setApplication

public void setApplication(java.lang.String arg0)
                    throws it.eng.spago.error.EMFInternalError
Specified by:
setApplication in interface it.eng.spago.security.IEngUserProfile
Throws:
it.eng.spago.error.EMFInternalError