Package | Description |
---|---|
com.spotfire.server.userdir |
Package containing API for modifying users and groups in the
server.
|
Modifier and Type | Method and Description |
---|---|
GroupPrincipal |
UserDirectory.createGroupPrincipal(java.lang.String name)
Creates a new group principal in the directory.
|
GroupPrincipal |
UserDirectory.getAdministratorGroup()
Returns the Administrator group principal.
|
GroupPrincipal[] |
UserDirectory.getDefaultGroups()
Returns an array containing the default groups on the server.
|
GroupPrincipal |
UserDirectory.getGroupPrincipal(java.lang.String name)
Returns the group principal with the specified name from the directory.
|
GroupPrincipal |
UserDirectory.getGroupPrincipal(java.lang.String name,
java.lang.String domainName)
Returns the group principal with the specified name and domain from the directory.
|
GroupPrincipal[] |
UserDirectory.getGroupPrincipals()
Returns an array containing all group principals in the directory.
|
GroupPrincipal[] |
UserDirectory.getGroupPrincipals(java.lang.String regExp)
Returns an array containing all group principals with names that matches the given regular expression.
|
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.getImmutableGroups()
Returns an array containing all immutable groups on the server.
|
GroupPrincipal |
InvalidPrimaryGroupException.getPrimaryGroup()
Returns the invalid primary group.
|
GroupPrincipal |
UserDirectory.getPrimaryGroup(SpotfirePrincipal principal)
Returns the specified principal's primary group.
|
Modifier and Type | Method and Description |
---|---|
void |
UserDirectory.addMember(GroupPrincipal group,
SpotfirePrincipal principal)
Adds a member to a group principal in the directory.
|
SpotfirePrincipal[] |
UserDirectory.getMembers(GroupPrincipal group)
Returns an array containing all immediate members (both users and other groups) of a group in the directory.
|
boolean |
UserDirectory.isDefaultGroup(GroupPrincipal group)
Returns
true if the given group is a default group. |
boolean |
UserDirectory.isImmutableGroup(GroupPrincipal group)
Returns
true if the given group is immutable. |
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.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.