Style Intelligence v12.0

inetsoft.sree.security
Interface EditableAuthenticationProvider

All Superinterfaces:
AuthenticationProvider
All Known Implementing Classes:
AbstractEditableAuthenticationProvider, FileAuthenticationProvider, VirtualAuthenticationProvider

public interface EditableAuthenticationProvider
extends AuthenticationProvider

Interface for authentication providers that allow their users, groups, and roles to be modified.

Since:
8.5

Field Summary
 
Fields inherited from interface inetsoft.sree.security.AuthenticationProvider
INDIVIDUAL
 
Method Summary
 void addAuthenticationChangeListener(AuthenticationChangeListener l)
          Adds a listener that is notified when a security object is removed or renamed.
 void addGroup(Group group)
          Add a group to the system.
 void addRole(Role role)
          Add a role to the system.
 void addUser(User user)
          Add a user to the system.
 void changePassword(String user, String password)
          Change the password for an entity.
 void removeAuthenticationChangeListener(AuthenticationChangeListener l)
          Removes a change listener from the notification list.
 void removeGroup(String name)
          Remove a group from the system.
 void removeRole(String name)
          Remove a role from the system.
 void removeUser(String name)
          Remove a user from the system.
 void setGroup(String oname, Group group)
          Set group.
 void setRole(String oname, Role role)
          Set role.
 void setUser(String oname, User user)
          Set user.
 
Methods inherited from interface inetsoft.sree.security.AuthenticationProvider
authenticate, findIdentity, getEmails, getGroup, getGroups, getIndividualUsers, getRole, getRoles, getRoles, getUser, getUsers, getUsers, tearDown
 

Method Detail

addUser

void addUser(User user)
Add a user to the system.

Parameters:
user - the user to add.

addGroup

void addGroup(Group group)
Add a group to the system.

Parameters:
group - the group to add.

addRole

void addRole(Role role)
Add a role to the system.

Parameters:
role - the role to add.

setUser

void setUser(String oname,
             User user)
Set user.

Parameters:
oname - old user name.
user - the new user.

setGroup

void setGroup(String oname,
              Group group)
Set group.

Parameters:
oname - old group name.
group - the new group.

setRole

void setRole(String oname,
             Role role)
Set role.

Parameters:
oname - old role name.
role - the new role.

removeUser

void removeUser(String name)
Remove a user from the system.

Parameters:
name - the name of the user to remove.

removeGroup

void removeGroup(String name)
Remove a group from the system.

Parameters:
name - the name of the group to remove.

removeRole

void removeRole(String name)
Remove a role from the system.

Parameters:
name - the name of the role to remove.

changePassword

void changePassword(String user,
                    String password)
                    throws SRSecurityException
Change the password for an entity. It is supportted only on security realms that use passwords.

Parameters:
user - the unique identifier of the user.
password - the new password.
Throws:
SRSecurityException - if the password could not be changed.

addAuthenticationChangeListener

void addAuthenticationChangeListener(AuthenticationChangeListener l)
Adds a listener that is notified when a security object is removed or renamed.

Parameters:
l - the listener to add.

removeAuthenticationChangeListener

void removeAuthenticationChangeListener(AuthenticationChangeListener l)
Removes a change listener from the notification list.

Parameters:
l - the listener to remove.

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