|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Principal | |
---|---|
com.sas.hls.messaging.subscription | Service for creating and retrieving subscriptions. |
com.sas.hls.security.group | Service and class definitions for manipulating and creating groups. |
com.sas.hls.security.group.exception | Exceptions that can be thrown while manipulating a group or using the groupService. |
com.sas.hls.security.membership | Service and class definitions for manipulating the membership of a context. |
com.sas.hls.security.membership.exception | Exceptions that can be thrown while manipulating a membership list or using the membershipService. |
com.sas.hls.security.principal.exception | Exceptions that can be thrown while manipulating or accessing principals in the system. |
com.sas.hls.security.role | Service and class definitions for manipulating and creating roles, their availability in contexts, and their membership lists. |
com.sas.hls.security.user | Service and class definitions for manipulating and creating Users. |
Uses of Principal in com.sas.hls.messaging.subscription |
---|
Methods in com.sas.hls.messaging.subscription that return Principal | |
---|---|
Principal |
Subscription.getPrincipal()
Get the principal for the subscription |
Methods in com.sas.hls.messaging.subscription with parameters of type Principal | |
---|---|
Subscription |
SubscriptionService.createSubscription(String path,
SubscribableEvent event,
Principal principal,
boolean cascade)
Create a subscription to the specified event on the object represented by the specified path, for the given principal. |
Set<Subscription> |
SubscriptionService.getSubscriptionsByPrincipal(Principal principal)
Get the subscriptions for the specified principal. |
void |
Subscription.setPrincipal(Principal principal)
Set the principal for the subscription |
Method parameters in com.sas.hls.messaging.subscription with type arguments of type Principal | |
---|---|
Set<Subscription> |
SubscriptionService.createSubscriptions(String path,
SubscribableEvent event,
Set<Principal> principals,
boolean cascade)
Create a subscription to the specified event on the object represented by the specified path, for the given principals. |
Constructors in com.sas.hls.messaging.subscription with parameters of type Principal | |
---|---|
Subscription(String path,
Principal principal,
SubscribableEvent event,
boolean cascade)
Constructor |
Uses of Principal in com.sas.hls.security.group |
---|
Classes in com.sas.hls.security.group that implement Principal | |
---|---|
class |
Group
Group is a collection of principals (users or other groups) and may be identified by a name and context. |
class |
GroupDescriptor
A light-weight client representation of a group. |
Methods in com.sas.hls.security.group that return types with arguments of type Principal | |
---|---|
Set<Principal> |
Group.getMembers()
Get the members of this group. |
Methods in com.sas.hls.security.group with parameters of type Principal | |
---|---|
Set<GroupDescriptor> |
GroupService.getAllGroupsByMember(Principal member)
Get all groups that have the specified principal as a member. |
Set<GroupDescriptor> |
GroupService.getAllReachableGroupsByMember(Principal member)
Returns a set of all reachable groups. |
Set<GroupDescriptor> |
GroupService.getGroupsByMember(GroupContext groupContext,
Principal member)
Get all groups in a given context that have the specified principal as a member. |
Set<GroupDescriptor> |
GroupService.getReachableGroupsByMember(GroupContext groupContext,
Principal member)
Returns a set of all reachable groups in the specified context. |
void |
GroupService.removeFromGroups(Principal member)
Remove the specified member from all groups. |
Method parameters in com.sas.hls.security.group with type arguments of type Principal | |
---|---|
Group |
GroupService.createGroup(GroupContext groupContext,
String groupName,
String groupDescription,
Set<Principal> members)
Create a new group. |
void |
GroupService.removeFromGroupContextGroups(GroupContext groupContext,
Set<Principal> members)
Remove the specified members from all groups in a specific context. |
void |
Group.setMembers(Set<Principal> members)
Set the members of this group. |
Constructor parameters in com.sas.hls.security.group with type arguments of type Principal | |
---|---|
Group(ObjectIdentity groupContext,
String name,
String identifier,
String principalId,
String principalName,
String description,
Set<Principal> members)
Constructor |
|
Group(ObjectIdentity groupContext,
String name,
String identifier,
String principalId,
String principalName,
String description,
Set<Principal> members,
long revision)
Constructor |
Uses of Principal in com.sas.hls.security.group.exception |
---|
Methods in com.sas.hls.security.group.exception that return types with arguments of type Principal | |
---|---|
Set<Principal> |
InvalidGroupMemberException.getInvalidMembers()
Returns the set of members which are invalid additions to the group. |
Constructor parameters in com.sas.hls.security.group.exception with type arguments of type Principal | |
---|---|
InvalidGroupMemberException(Set<Principal> invalidMembers,
String message)
Constructor for GroupIdentifierNotFoundException. |
Uses of Principal in com.sas.hls.security.membership |
---|
Methods in com.sas.hls.security.membership that return types with arguments of type Principal | |
---|---|
Set<Principal> |
MembershipService.getAssignedMembers(MembershipContext context)
|
Set<Principal> |
Membership.getMembers()
Get the members of this membership. |
Set<Principal> |
MembershipService.getMembersAvailableForAssignment(MembershipContext context)
Get the set of all principals which can be added to the current membership of the specified context (this list will not include principals already in the current membership). |
Set<Principal> |
MembershipService.getPotentialMembers(MembershipContext context)
Get the set of all principals which could be included in the membership of the specified context (including current members of that membership). |
Methods in com.sas.hls.security.membership with parameters of type Principal | |
---|---|
void |
MembershipService.addMember(MembershipContext context,
Principal member)
Add the specified principal to the membership list of a membership context. |
Set<MembershipDescriptor> |
MembershipService.getMemberships(Principal member)
Get the set of membership lists where the specified principal is a member. |
boolean |
MembershipService.isMember(MembershipContext context,
Principal member)
Test to see if a given principal is an explicit member of a specified membership context. |
void |
MembershipService.removeMember(MembershipContext context,
Principal member)
Remove the specified principal from the membership list of the specified context. |
Method parameters in com.sas.hls.security.membership with type arguments of type Principal | |
---|---|
void |
MembershipService.addMembers(MembershipContext context,
Set<Principal> members)
Add the specified principal to the membership list of a membership context. |
void |
MembershipService.removeMembers(MembershipContext context,
Set<Principal> members)
|
void |
Membership.setMembers(Set<Principal> members)
Set the members of this membership. |
Constructors in com.sas.hls.security.membership with parameters of type Principal | |
---|---|
Membership(ObjectIdentity context,
Principal... members)
Membership constructor given the context it is for and the list of Principals to be in the membership. |
Constructor parameters in com.sas.hls.security.membership with type arguments of type Principal | |
---|---|
Membership(ObjectIdentity context,
Set<Principal> members)
Membership constructor given the context it is for and the list of Principals to be in the membership. |
Uses of Principal in com.sas.hls.security.membership.exception |
---|
Methods in com.sas.hls.security.membership.exception that return types with arguments of type Principal | |
---|---|
Set<Principal> |
MemberExistsException.getExistingMembers()
Get the set of principals which are already members of this context. |
Set<Principal> |
InvalidMemberException.getInvalidMembers()
Get the set of invalid principals referenced by this exception. |
Set<Principal> |
MemberNotFoundException.getNonMembers()
Get the set of principals which are not members of this context. |
Constructor parameters in com.sas.hls.security.membership.exception with type arguments of type Principal | |
---|---|
InvalidMemberException(Set<Principal> invalidMembers,
String message)
Constructor taking the set of invalid principals and a detailed message about the exception. |
|
InvalidMemberException(Set<Principal> invalidMembers,
String message,
Throwable cause)
Constructor taking the set of invalid principals, a detailed message about the exception and the underlying cause of this exception. |
|
MemberExistsException(Set<Principal> existingMembers,
String message)
Constructs a MembershipExistsException with the specified message and list of principals. |
|
MemberNotFoundException(Set<Principal> nonMembers,
String message)
Constructs a MemberNotFoundException with the specified message and list of principals. |
Uses of Principal in com.sas.hls.security.principal.exception |
---|
Methods in com.sas.hls.security.principal.exception that return types with arguments of type Principal | |
---|---|
Set<Principal> |
PrincipalNotFoundException.getNotFound()
Get the set of principals which could not be found. |
Constructor parameters in com.sas.hls.security.principal.exception with type arguments of type Principal | |
---|---|
PrincipalNotFoundException(String message,
Set<Principal> notFound)
Construct a PrincipalNotFoundException with the specified message and list of principals which could not be found in the system. |
Uses of Principal in com.sas.hls.security.role |
---|
Methods in com.sas.hls.security.role that return types with arguments of type Principal | |
---|---|
Set<Principal> |
RoleAssignment.getMembers()
Get the membership of this roleAssignment. |
Methods in com.sas.hls.security.role with parameters of type Principal | |
---|---|
Set<AssignedRole> |
RoleAssignmentService.getAssignedRolesByPrincipal(RoleContext roleContext,
Principal principal)
Get all assignedRoles in a given context which have the specified principal as a member. |
Set<RoleAssignment> |
RoleAssignmentService.getRoleAssignmentsByRoleContextAndPrincipal(RoleContext roleContext,
Principal member)
Get all the roleAssignments for a context which include the specified principal as a member. |
boolean |
RoleAssignmentService.isPrincipalInRole(AssignedRole assignedRole,
Principal principal)
Is the principal a member of the specified role? |
void |
RoleAssignmentService.removeFromRoleAssignmentsOfRoleContext(RoleContext roleContext,
Principal member)
Remove the specified principal from all roleAssignments in the specified context. |
Method parameters in com.sas.hls.security.role with type arguments of type Principal | |
---|---|
void |
RoleAssignmentService.removeMembersFromRoleAssignmentsOfRoleContext(RoleContext roleContext,
Set<Principal> members)
Remove the specified principals from all roleAssignments in the specified context. |
void |
RoleAssignment.setMembers(Set<Principal> members)
Set the membership of this roleAssignment. |
Constructor parameters in com.sas.hls.security.role with type arguments of type Principal | |
---|---|
RoleAssignment(long revision,
AssignedRole assignedRole,
Set<Principal> members)
Constructor when you have a membership list defined. |
Uses of Principal in com.sas.hls.security.user |
---|
Classes in com.sas.hls.security.user that implement Principal | |
---|---|
class |
User
A client representation of a user defined in the system. |
class |
UserDescriptor
Light weight representation of a user defined in the system. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |