Package | Description |
---|---|
com.spotfire.server.security |
Package containing the API classes and interfaces for authentication and other security related functionality.
|
com.spotfire.server.userdir |
Package containing API for modifying users and groups in the
server.
|
Modifier and Type | Method and Description |
---|---|
SpotfirePrincipal |
SecurityContext.getPrincipal()
Returns the
SpotfirePrincipal instance representing the authenticated principal. |
Modifier and Type | Interface and Description |
---|---|
interface |
GroupPrincipal
This interface represents a group principal.
|
interface |
UserPrincipal
This interface represents a user principal.
|
Modifier and Type | Method and Description |
---|---|
SpotfirePrincipal[] |
UserDirectory.getMembers(GroupPrincipal group)
Returns an array containing all immediate members (both users and other groups) of a group in the directory.
|
SpotfirePrincipal |
InvalidPrimaryGroupException.getPrincipal()
Returns the principal whose primary group was attempted to set.
|
SpotfirePrincipal |
UserDirectory.getPrincipal(Guid guid)
Returns the principal with the specified GUID from the directory.
|
Modifier and Type | Method and Description |
---|---|
void |
UserDirectory.addMember(GroupPrincipal group,
SpotfirePrincipal principal)
Adds a member to a group principal in the directory.
|
GroupPrincipal[] |
UserDirectory.getGroups(SpotfirePrincipal principal)
Returns an array containing all groups of which the specified principal is an immediate member.
|
GroupPrincipal[] |
UserDirectory.getGroupsRecursive(SpotfirePrincipal principal)
Returns an array containing all groups of which the specified principal is a member.
|
GroupPrincipal |
UserDirectory.getPrimaryGroup(SpotfirePrincipal principal)
Returns the specified principal's primary group.
|
boolean |
UserDirectory.isMember(GroupPrincipal group,
SpotfirePrincipal principal)
Check if a principal is member of a group.
|
void |
UserDirectory.removeMember(GroupPrincipal group,
SpotfirePrincipal principal)
Removes a member from a group in the directory.
|
void |
UserDirectory.removePrincipal(SpotfirePrincipal principal)
Removes a principal from the directory.
|
void |
UserDirectory.renamePrincipal(SpotfirePrincipal principal,
java.lang.String name)
Changes the name of a principal in the directory.
|
void |
UserDirectory.setGroups(SpotfirePrincipal principal,
GroupPrincipal[] groups)
Set all groups that a principal belongs to.
|
void |
UserDirectory.setMembers(GroupPrincipal group,
SpotfirePrincipal[] principals)
Sets all members of a group.
|
void |
UserDirectory.setPrimaryGroup(SpotfirePrincipal principal,
GroupPrincipal primaryGroup)
Sets the primary group for the specified principal.
|
Copyright © 2000-2020 TIBCO Software Inc. All Rights Reserved.