it.eng.spago.security
Interface IEngUserProfile

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AbstractEngUserProfile

public interface IEngUserProfile
extends java.io.Serializable


Field Summary
static java.lang.String ENG_USER_PROFILE
           
 
Method Summary
 java.util.Collection getFunctionalities()
          Method getFunctionalities.
 java.util.Collection getRoles()
          Method getRoles.
 java.lang.Object getUserAttribute(java.lang.String attributeName)
          Method getUserAttribute.
 java.lang.Object getUserUniqueIdentifier()
          Method getUserUniqueIdentifier.
 boolean hasRole(java.lang.String roleName)
          Method hasRole
 boolean isAbleToExecuteAction(java.lang.String actionName)
          Method isAbleToExecuteAction.
 boolean isAbleToExecuteModuleInPage(java.lang.String pageName, java.lang.String moduleName)
          Method isAbleToExecuteModuleInPage.
 void setApplication(java.lang.String applicationName)
          Method setApplication.
 

Field Detail

ENG_USER_PROFILE

public static final java.lang.String ENG_USER_PROFILE
See Also:
Constant Field Values
Method Detail

getUserUniqueIdentifier

public java.lang.Object getUserUniqueIdentifier()
Method getUserUniqueIdentifier.

Returns:
Object

getUserAttribute

public java.lang.Object getUserAttribute(java.lang.String attributeName)
                                  throws EMFInternalError
Method getUserAttribute.

Parameters:
attributeName -
Returns:
Object Ritorna il valore dell'attributo dell'utente
Throws:
EMFInternalError

hasRole

public boolean hasRole(java.lang.String roleName)
                throws EMFInternalError
Method hasRole

Parameters:
roleName -
Returns:
boolean Ritorna true se l'utente è associato a quel ruolo
Throws:
EMFInternalError

getRoles

public java.util.Collection getRoles()
                              throws EMFInternalError
Method getRoles.

Returns:
List Ritorna tutti i ruoli con la quale l'utente ha una relazione di behaviour
Throws:
EMFInternalError

getFunctionalities

public java.util.Collection getFunctionalities()
                                        throws EMFInternalError
Method getFunctionalities.

Returns:
Collection
Throws:
EMFInternalError

isAbleToExecuteAction

public boolean isAbleToExecuteAction(java.lang.String actionName)
                              throws EMFInternalError
Method isAbleToExecuteAction.

Parameters:
actionName -
Returns:
boolean
Throws:
EMFInternalError - Ritorna True se l'utente è abilitato ad eseguire la action actionName

isAbleToExecuteModuleInPage

public boolean isAbleToExecuteModuleInPage(java.lang.String pageName,
                                           java.lang.String moduleName)
                                    throws EMFInternalError
Method isAbleToExecuteModuleInPage.

Parameters:
pageName -
moduleName -
Returns:
boolean
Throws:
EMFInternalError - Ritorna True se l'utente è abilitato ad eseguire il modulo moduleName nella pagina pageName

setApplication

public void setApplication(java.lang.String applicationName)
                    throws EMFInternalError
Method setApplication.

Parameters:
applicationName -
Throws:
EMFInternalError