public abstract class AdRoleAssertion
extends java.lang.Object
AceAssertion list.
These criteria are considered the requirements of a given 'role', e.g., the ability to join computers to a domain an unlimited
number of times can be considered to be a role.
An instance of this class can be passed to a DACLAssertor to actually perform the assertion against the DACL
(Discretionary Access Control List) of an AD object.| Constructor and Description |
|---|
AdRoleAssertion() |
AdRoleAssertion(java.util.List<AceAssertion> assertions,
SID principal,
boolean isGroup,
java.util.List<SID> tokenGroups)
AdRoleAssertion constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AceAssertion> |
getAssertions()
Gets the list of assertions
|
SID |
getPrincipal()
Gets the SID of the principal
|
java.util.List<SID> |
getTokenGroups()
Gets the token group SIDs of the principal, may be null
|
boolean |
isGroup()
Whether the principal is a group
|
public AdRoleAssertion()
public AdRoleAssertion(java.util.List<AceAssertion> assertions, SID principal, boolean isGroup, java.util.List<SID> tokenGroups)
assertions - list of AceAssertions which make up the claimsprincipal - the user or group SID which is to be assertedisGroup - whether the principal is a grouptokenGroups - the token group SIDs of the principal (if it is a user)public java.util.List<AceAssertion> getAssertions()
public SID getPrincipal()
public boolean isGroup()
public java.util.List<SID> getTokenGroups()
Copyright © 2015-2018 Tirasa. All Rights Reserved.