|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AuthenticationProvider
Interface for classes that provide authentication services to a security provider.
| Field Summary | |
|---|---|
static String |
INDIVIDUAL
This is a special group of users, which don't belong to any real group |
| Method Summary | |
|---|---|
boolean |
authenticate(String user,
Object credential)
Check the authentication of specific entity. |
inetsoft.uql.util.Identity |
findIdentity(inetsoft.uql.util.Identity identity)
Find the concrete identity in this security provider. |
String[] |
getEmails(String user)
Deprecated. use User.getEmails() instead. |
Group |
getGroup(String name)
Get a group by name. |
String[] |
getGroups()
Get a list of all groups defined in the system. |
String[] |
getIndividualUsers()
Get a list of all users not in any group except INDIVIDUAL. |
Role |
getRole(String roleid)
Get a role object from the role ID. |
String[] |
getRoles()
Get a list of all roles in the system. |
String[] |
getRoles(String user)
Get a list of all roles bound to specific user. |
User |
getUser(String name)
Get a user by name. |
String[] |
getUsers()
Get a list of all users in the system. |
String[] |
getUsers(String group)
Get a list of all users in a group. |
void |
tearDown()
Tear down the security provider. |
| Field Detail |
|---|
static final String INDIVIDUAL
| Method Detail |
|---|
User getUser(String name)
name - the unique identifier of the user.
String[] getUsers()
String[] getUsers(String group)
group - the name of the group.
String[] getEmails(String user)
User.getEmails() instead.
user - the unique identifier for the user.
String[] getIndividualUsers()
String[] getRoles()
String[] getRoles(String user)
user - the unique identifier for the user.
Role getRole(String roleid)
roleid - the unique identifier of the role.
null if no such role exists.Group getGroup(String name)
name - the name of the group.
null if no such group exists.String[] getGroups()
boolean authenticate(String user,
Object credential)
user - the unique identification of the user.credential - a wrapper for some secure message, such as the user ID
and password. credential is of type String or
DefaultTicket.
true if the authentication succeeded.inetsoft.uql.util.Identity findIdentity(inetsoft.uql.util.Identity identity)
void tearDown()
|
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 | ||||||||