Style Intelligence v12.0

inetsoft.sree.security
Interface AuthorizationProvider

All Superinterfaces:
AuthenticationChangeListener, EventListener
All Known Subinterfaces:
SecurityProvider
All Known Implementing Classes:
AbstractAuthorizationProvider, AbstractSecurityProvider, CompositeSecurityProvider, FileAuthorizationProvider, FileSecurityProvider, VirtualAuthorizationProvider, VirtualSecurityProvider

public interface AuthorizationProvider
extends AuthenticationChangeListener

Interface for classes that provide access control services to a security provider.

Since:
8.5

Method Summary
 Permission getPermission(String resource)
          Get the permission of the specified type.
 void removePermission(String resource)
          Remove the user permission.
 void setPermission(String resource, Permission perm)
          Set the permission for specific resource.
 boolean supportGroupPermission()
          Check if provider support to allocate permission to group or not.
 void tearDown()
          Tear down the security provider.
 
Methods inherited from interface inetsoft.sree.security.AuthenticationChangeListener
authenticationChanged
 

Method Detail

setPermission

void setPermission(String resource,
                   Permission perm)
Set the permission for specific resource.

Parameters:
resource - resource name, such as a replet register name or a saved report path.
perm - permission setting.

removePermission

void removePermission(String resource)
Remove the user permission.

Parameters:
resource - resource name, such as a replet path or a saved report path.

getPermission

Permission getPermission(String resource)
Get the permission of the specified type.

Parameters:
resource - resource name.
Returns:
permission setting or null if no permission is set for this resourece.

supportGroupPermission

boolean supportGroupPermission()
Check if provider support to allocate permission to group or not.


tearDown

void tearDown()
Tear down the security provider.


Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.