|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SpotfirePrincipal | |
|---|---|
| com.spotfire.server.security | Package containing the Post Authentication Filter API. |
| com.spotfire.server.userdir | Package containing API for modifying users and groups in the server. |
| Uses of SpotfirePrincipal in com.spotfire.server.security |
|---|
| Methods in com.spotfire.server.security that return SpotfirePrincipal | |
|---|---|
SpotfirePrincipal |
SecurityContext.getPrincipal()
Returns the SpotfirePrincipal instance representing
the authenicated principal. |
| Uses of SpotfirePrincipal in com.spotfire.server.userdir |
|---|
| Subinterfaces of SpotfirePrincipal in com.spotfire.server.userdir | |
|---|---|
interface |
GroupPrincipal
This interface represents a group principal. |
interface |
UserPrincipal
This interface represents a user principal. |
| Methods in com.spotfire.server.userdir that return SpotfirePrincipal | |
|---|---|
SpotfirePrincipal[] |
UserDirectory.getMembers(GroupPrincipal group)
Returns an array containing all immediate members (both users and other groups) of a group in the directory. |
SpotfirePrincipal |
UserDirectory.getPrincipal(Guid guid)
Returns the principal with the specified GUID from the directory. |
| Methods in com.spotfire.server.userdir with parameters of type SpotfirePrincipal | |
|---|---|
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.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,
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. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||