org.outerj.xreporter.authorisation
Interface AuthorisationManager
- All Known Implementing Classes:
- AuthorisationManagerImpl
- public interface AuthorisationManager
The AuthorisationManager controls access to reports and data sources.
Field Summary |
static java.lang.String |
ROLE
|
ROLE
public static final java.lang.String ROLE
- See Also:
- Constant Field Values
canAccessReport
public boolean canAccessReport(User user,
java.lang.String reportDefinitionId)
throws AuthorisationException
- Throws:
AuthorisationException
getAllowedReportDefinitionIds
public java.util.Set getAllowedReportDefinitionIds(User user)
throws AuthorisationException
- Returns a set of all report definition id's (= String objects) that the user is allowed to access.
- Throws:
AuthorisationException
canAccessDataSource
public boolean canAccessDataSource(User user,
java.lang.String dataSourceId)
throws AuthorisationException
- Throws:
AuthorisationException
getAllowedDataSourceIds
public java.util.Set getAllowedDataSourceIds(User user)
throws AuthorisationException
- Returns a set of all data source id's (= String objects) that the user is allowed to access.
- Throws:
AuthorisationException