it.eng.spago.security.xmlauthorizations
Class XMLUserProfile

java.lang.Object
  extended byit.eng.spago.security.xmlauthorizations.XMLUserProfile
All Implemented Interfaces:
it.eng.spago.security.IEngUserProfile, java.io.Serializable

public class XMLUserProfile
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
XMLUserProfile(java.lang.String userID)
           
 
Method Summary
 java.util.Collection getFunctionalities()
           
 java.util.Collection getRoles()
           
 java.lang.Object getUserAttribute(java.lang.String attributeName)
           
 java.lang.Object getUserUniqueIdentifier()
           
 boolean hasRole(java.lang.String roleName)
           
 boolean isAbleToExecuteAction(java.lang.String actionName)
           
 boolean isAbleToExecuteModuleInPage(java.lang.String pageName, java.lang.String moduleName)
           
 void setApplication(java.lang.String applicationName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLUserProfile

public XMLUserProfile(java.lang.String userID)
               throws it.eng.spago.error.EMFInternalError
Method Detail

getUserAttribute

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

hasRole

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

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
See Also:
IEngUserProfile.getRoles()

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
See Also:
IEngUserProfile.getFunctionalities()

isAbleToExecuteAction

public boolean isAbleToExecuteAction(java.lang.String actionName)
                              throws it.eng.spago.error.EMFInternalError
Specified by:
isAbleToExecuteAction in interface it.eng.spago.security.IEngUserProfile
Throws:
it.eng.spago.error.EMFInternalError
See Also:
it.eng.spago.security.IEngUserProfile#isAbleToExecuteAction(java.lang.String, java.lang.String)

isAbleToExecuteModuleInPage

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

setApplication

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

getUserUniqueIdentifier

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