Style Intelligence v12.0

inetsoft.sree.security
Class AbstractAuthorizationProvider

java.lang.Object
  extended by inetsoft.sree.security.AbstractAuthorizationProvider
All Implemented Interfaces:
AuthenticationChangeListener, AuthorizationProvider, EventListener
Direct Known Subclasses:
FileAuthorizationProvider, VirtualAuthorizationProvider

public abstract class AbstractAuthorizationProvider
extends Object
implements AuthorizationProvider

A skeletal implementation of an authorization provider.

Since:
8.5

Constructor Summary
AbstractAuthorizationProvider()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface inetsoft.sree.security.AuthorizationProvider
tearDown
 
Methods inherited from interface inetsoft.sree.security.AuthenticationChangeListener
authenticationChanged
 

Constructor Detail

AbstractAuthorizationProvider

public AbstractAuthorizationProvider()
Method Detail

setPermission

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

Specified by:
setPermission in interface AuthorizationProvider
Parameters:
resource - resource name, such as a replet register name or a saved report path.
perm - permission setting.

removePermission

public void removePermission(String resource)
Remove the user permission.

Specified by:
removePermission in interface AuthorizationProvider
Parameters:
resource - resource name, such as a replet path or a saved report path.

getPermission

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

Specified by:
getPermission in interface AuthorizationProvider
Parameters:
resource - resource name.
Returns:
permission setting or null if no permission is set for this resourece.

supportGroupPermission

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

Specified by:
supportGroupPermission in interface AuthorizationProvider

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