Style Intelligence v12.0

inetsoft.sree.security
Class FileAuthorizationProvider

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

public class FileAuthorizationProvider
extends AbstractAuthorizationProvider

Authorization module that uses the file system to store the ACL.

Since:
8.5

Constructor Summary
FileAuthorizationProvider()
           
 
Method Summary
 void authenticationChanged(AuthenticationChangeEvent event)
          Signals that a security object has been removed or renamed.
 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.
 void tearDown()
          Tear down the security provider.
 
Methods inherited from class inetsoft.sree.security.AbstractAuthorizationProvider
supportGroupPermission
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileAuthorizationProvider

public FileAuthorizationProvider()
Method Detail

getPermission

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

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

setPermission

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

Specified by:
setPermission in interface AuthorizationProvider
Overrides:
setPermission in class AbstractAuthorizationProvider
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
Overrides:
removePermission in class AbstractAuthorizationProvider
Parameters:
resource - resource name, such as a replet path or a saved report path.

tearDown

public void tearDown()
Tear down the security provider.


authenticationChanged

public void authenticationChanged(AuthenticationChangeEvent event)
Signals that a security object has been removed or renamed.

Parameters:
event - the object that describes the change event.

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