|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.sree.security.AbstractAuthenticationProvider
inetsoft.sree.security.AbstractEditableAuthenticationProvider
inetsoft.sree.security.VirtualAuthenticationProvider
public class VirtualAuthenticationProvider
Virtual authentication module.
| Field Summary |
|---|
| Fields inherited from interface inetsoft.sree.security.AuthenticationProvider |
|---|
INDIVIDUAL |
| Constructor Summary | |
|---|---|
VirtualAuthenticationProvider()
Creates a new instance of VirtualAuthenticationProvider. |
|
| Method Summary | |
|---|---|
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. |
boolean |
authenticate(String user,
Object ticket)
Check the authentication of specific entity. |
String[] |
getRoles()
Get a list of all roles in the system. |
User |
getUser(String name)
Get a user by name. |
String[] |
getUsers()
Get a list of all users in the system. |
void |
removeGroup(String name)
Remove a group 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. |
void |
tearDown()
Tear down the security provider. |
| Methods inherited from class inetsoft.sree.security.AbstractEditableAuthenticationProvider |
|---|
addAuthenticationChangeListener, addGroup, changePassword, fireAuthenticationChanged, removeAuthenticationChangeListener, removeRole, setGroup |
| Methods inherited from class inetsoft.sree.security.AbstractAuthenticationProvider |
|---|
clearCache, findIdentity, getEmails, getGroup, getGroups, getIndividualUsers, getRole, getRoles, getUsers |
| 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.AuthenticationProvider |
|---|
findIdentity, getEmails, getGroup, getGroups, getIndividualUsers, getRole, getRoles, getUsers |
| Constructor Detail |
|---|
public VirtualAuthenticationProvider()
| Method Detail |
|---|
public String[] getRoles()
getRoles in interface AuthenticationProvidergetRoles in class AbstractAuthenticationProvider
public boolean authenticate(String user,
Object ticket)
user - the unique identification of the user.ticket - a wrapper for some secure message, such as the user ID
and password.
true if the authentication succeeded.public String[] getUsers()
getUsers in interface AuthenticationProvidergetUsers in class AbstractAuthenticationProviderpublic User getUser(String name)
getUser in interface AuthenticationProvidergetUser in class AbstractAuthenticationProvidername - the unique identifier of the user.
public void tearDown()
public void addGroup(Group group)
group - the group to add.public void addRole(Role role)
addRole in interface EditableAuthenticationProvideraddRole in class AbstractEditableAuthenticationProviderrole - the role to add.public void addUser(User user)
addUser in interface EditableAuthenticationProvideraddUser in class AbstractEditableAuthenticationProvideruser - the user to add.public void removeGroup(String name)
removeGroup in interface EditableAuthenticationProviderremoveGroup in class AbstractEditableAuthenticationProvidername - the name of the group to remove.public void removeUser(String name)
removeUser in interface EditableAuthenticationProviderremoveUser in class AbstractEditableAuthenticationProvidername - the name of the user to remove.
public void setGroup(String oname,
Group group)
oname - old group name.group - the new group.
public void setRole(String oname,
Role role)
setRole in interface EditableAuthenticationProvidersetRole in class AbstractEditableAuthenticationProvideroname - old role name.role - the new role.
public void setUser(String oname,
User user)
setUser in interface EditableAuthenticationProvidersetUser in class AbstractEditableAuthenticationProvideroname - old user name.user - the new user.
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||