it.eng.spagobi.services.security
Interface SecurityService

All Known Implementing Classes:
SecurityServiceImpl

public interface SecurityService

This is the SecurityService interfaces

Author:
Bernabei Angelo

Method Summary
 boolean checkAuthorization(java.lang.String token, java.lang.String userId, java.lang.String function)
          check if the user can access to this function
 SpagoBIUserProfile getUserProfile(java.lang.String token, java.lang.String userId)
          return the user profile informations
 boolean isAuthorized(java.lang.String token, java.lang.String userId, java.lang.String idFolder, java.lang.String mode)
          Check if the user can access to the path
 

Method Detail

getUserProfile

SpagoBIUserProfile getUserProfile(java.lang.String token,
                                  java.lang.String userId)
return the user profile informations

Parameters:
token -
Returns:

isAuthorized

boolean isAuthorized(java.lang.String token,
                     java.lang.String userId,
                     java.lang.String idFolder,
                     java.lang.String mode)
Check if the user can access to the path

Parameters:
token -
idFolder - ( object tree )
mode -
Returns:

checkAuthorization

boolean checkAuthorization(java.lang.String token,
                           java.lang.String userId,
                           java.lang.String function)
check if the user can access to this function

Parameters:
token -
function -
Returns: