public class ObjectSecurity extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.AccessControl.ObjectSecurity
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Security.AccessControl, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Security.AccessControl
|
static java.lang.String |
className
Qualified class name: System.Security.AccessControl.ObjectSecurity
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ObjectSecurity() |
ObjectSecurity(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AccessRule |
AccessRuleFactory(IdentityReference identityReference,
int accessMask,
boolean isInherited,
InheritanceFlags inheritanceFlags,
PropagationFlags propagationFlags,
AccessControlType type) |
AuditRule |
AuditRuleFactory(IdentityReference identityReference,
int accessMask,
boolean isInherited,
InheritanceFlags inheritanceFlags,
PropagationFlags propagationFlags,
AuditFlags flags) |
static ObjectSecurity |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ObjectSecurity, a cast assert is made to check if types are compatible. |
NetType |
getAccessRightType() |
NetType |
getAccessRuleType() |
boolean |
getAreAccessRulesCanonical() |
boolean |
getAreAccessRulesProtected() |
boolean |
getAreAuditRulesCanonical() |
boolean |
getAreAuditRulesProtected() |
NetType |
getAuditRuleType() |
IdentityReference |
GetGroup(NetType targetType) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
IdentityReference |
GetOwner(NetType targetType) |
byte[] |
GetSecurityDescriptorBinaryForm() |
java.lang.String |
GetSecurityDescriptorSddlForm(AccessControlSections includeSections) |
static boolean |
IsSddlConversionSupported() |
boolean |
ModifyAccessRule(AccessControlModification modification,
AccessRule rule,
JCORefOut<java.util.concurrent.atomic.AtomicBoolean> modified) |
boolean |
ModifyAuditRule(AccessControlModification modification,
AuditRule rule,
JCORefOut<java.util.concurrent.atomic.AtomicBoolean> modified) |
void |
PurgeAccessRules(IdentityReference identity) |
void |
PurgeAuditRules(IdentityReference identity) |
void |
SetAccessRuleProtection(boolean isProtected,
boolean preserveInheritance) |
void |
SetAuditRuleProtection(boolean isProtected,
boolean preserveInheritance) |
void |
SetGroup(IdentityReference identity) |
void |
setJCOInstance(JCObject instance) |
void |
SetOwner(IdentityReference identity) |
void |
SetSecurityDescriptorBinaryForm(byte[] binaryForm) |
void |
SetSecurityDescriptorBinaryForm(byte[] binaryForm,
AccessControlSections includeSections) |
void |
SetSecurityDescriptorBinaryForm(JCORefOut dupParam0) |
void |
SetSecurityDescriptorBinaryForm(JCORefOut dupParam0,
AccessControlSections dupParam1) |
void |
SetSecurityDescriptorSddlForm(java.lang.String sddlForm) |
void |
SetSecurityDescriptorSddlForm(java.lang.String sddlForm,
AccessControlSections includeSections) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ObjectSecurity()
throws java.lang.Throwable
java.lang.Throwablepublic ObjectSecurity(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, boolean isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type) throws java.lang.Throwable
java.lang.Throwablepublic AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, boolean isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags) throws java.lang.Throwable
java.lang.Throwablepublic static ObjectSecurity cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ObjectSecurity, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedObjectSecurity instancejava.lang.Throwable - in case of error during cast operationpublic NetType getAccessRightType() throws java.lang.Throwable
java.lang.Throwablepublic NetType getAccessRuleType() throws java.lang.Throwable
java.lang.Throwablepublic boolean getAreAccessRulesCanonical()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ObjectDisposedException,
LockRecursionException,
NotSupportedException,
ArgumentException,
WaitHandleCannotBeOpenedException,
AbandonedMutexException,
SynchronizationLockException
public boolean getAreAccessRulesProtected()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ObjectDisposedException,
LockRecursionException,
NotSupportedException,
ArgumentException,
WaitHandleCannotBeOpenedException,
AbandonedMutexException,
SynchronizationLockException
public boolean getAreAuditRulesCanonical()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ObjectDisposedException,
LockRecursionException,
NotSupportedException,
ArgumentException,
WaitHandleCannotBeOpenedException,
AbandonedMutexException,
SynchronizationLockException
public boolean getAreAuditRulesProtected()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ObjectDisposedException,
LockRecursionException,
NotSupportedException,
ArgumentException,
WaitHandleCannotBeOpenedException,
AbandonedMutexException,
SynchronizationLockException
public NetType getAuditRuleType() throws java.lang.Throwable
java.lang.Throwablepublic IdentityReference GetGroup(NetType targetType) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, LockRecursionException, NotSupportedException, ArgumentException, WaitHandleCannotBeOpenedException, AbandonedMutexException, SynchronizationLockException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic IdentityReference GetOwner(NetType targetType) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, LockRecursionException, NotSupportedException, ArgumentException, WaitHandleCannotBeOpenedException, AbandonedMutexException, SynchronizationLockException
public byte[] GetSecurityDescriptorBinaryForm()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ObjectDisposedException,
LockRecursionException,
NotSupportedException,
ArgumentException,
WaitHandleCannotBeOpenedException,
AbandonedMutexException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentNullException,
RankException,
ArrayTypeMismatchException,
InvalidCastException,
SynchronizationLockException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionLockRecursionExceptionNotSupportedExceptionArgumentExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentNullExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionSynchronizationLockExceptionpublic java.lang.String GetSecurityDescriptorSddlForm(AccessControlSections includeSections) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, LockRecursionException, NotSupportedException, ArgumentException, WaitHandleCannotBeOpenedException, AbandonedMutexException, CultureNotFoundException, IndexOutOfRangeException, ArgumentNullException, RankException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException, InvalidOperationException, SynchronizationLockException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionLockRecursionExceptionNotSupportedExceptionArgumentExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentNullExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionOutOfMemoryExceptionInvalidOperationExceptionSynchronizationLockExceptionpublic static boolean IsSddlConversionSupported()
throws java.lang.Throwable
java.lang.Throwablepublic boolean ModifyAccessRule(AccessControlModification modification, AccessRule rule, JCORefOut<java.util.concurrent.atomic.AtomicBoolean> modified) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, LockRecursionException, WaitHandleCannotBeOpenedException, AbandonedMutexException, SynchronizationLockException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionLockRecursionExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionSynchronizationLockExceptionpublic boolean ModifyAuditRule(AccessControlModification modification, AuditRule rule, JCORefOut<java.util.concurrent.atomic.AtomicBoolean> modified) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, LockRecursionException, WaitHandleCannotBeOpenedException, AbandonedMutexException, SynchronizationLockException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionLockRecursionExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionSynchronizationLockExceptionpublic void PurgeAccessRules(IdentityReference identity) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, LockRecursionException, WaitHandleCannotBeOpenedException, AbandonedMutexException, SynchronizationLockException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionLockRecursionExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionSynchronizationLockExceptionpublic void PurgeAuditRules(IdentityReference identity) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, LockRecursionException, WaitHandleCannotBeOpenedException, AbandonedMutexException, SynchronizationLockException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionLockRecursionExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionSynchronizationLockExceptionpublic void SetAccessRuleProtection(boolean isProtected,
boolean preserveInheritance)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ObjectDisposedException,
LockRecursionException,
NotSupportedException,
ArgumentException,
WaitHandleCannotBeOpenedException,
AbandonedMutexException,
InvalidOperationException,
ArgumentNullException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidCastException,
SynchronizationLockException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionLockRecursionExceptionNotSupportedExceptionArgumentExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionInvalidOperationExceptionArgumentNullExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastExceptionSynchronizationLockExceptionpublic void SetAuditRuleProtection(boolean isProtected,
boolean preserveInheritance)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ObjectDisposedException,
LockRecursionException,
NotSupportedException,
ArgumentException,
WaitHandleCannotBeOpenedException,
AbandonedMutexException,
InvalidOperationException,
ArgumentNullException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidCastException,
SynchronizationLockException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionLockRecursionExceptionNotSupportedExceptionArgumentExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionInvalidOperationExceptionArgumentNullExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastExceptionSynchronizationLockExceptionpublic void SetGroup(IdentityReference identity) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, LockRecursionException, WaitHandleCannotBeOpenedException, AbandonedMutexException, SynchronizationLockException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionLockRecursionExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionSynchronizationLockExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void SetOwner(IdentityReference identity) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, LockRecursionException, WaitHandleCannotBeOpenedException, AbandonedMutexException, SynchronizationLockException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionLockRecursionExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionSynchronizationLockExceptionpublic void SetSecurityDescriptorBinaryForm(byte[] binaryForm)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
ObjectDisposedException,
LockRecursionException,
PlatformNotSupportedException,
AbandonedMutexException,
IndexOutOfRangeException,
OverflowException,
SynchronizationLockException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionObjectDisposedExceptionLockRecursionExceptionPlatformNotSupportedExceptionAbandonedMutexExceptionIndexOutOfRangeExceptionOverflowExceptionSynchronizationLockExceptionpublic void SetSecurityDescriptorBinaryForm(byte[] binaryForm,
AccessControlSections includeSections)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
LockRecursionException,
WaitHandleCannotBeOpenedException,
AbandonedMutexException,
IndexOutOfRangeException,
OverflowException,
SynchronizationLockException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionLockRecursionExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionIndexOutOfRangeExceptionOverflowExceptionSynchronizationLockExceptionpublic void SetSecurityDescriptorBinaryForm(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, IndexOutOfRangeException, OverflowException, SynchronizationLockException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionObjectDisposedExceptionLockRecursionExceptionPlatformNotSupportedExceptionAbandonedMutexExceptionIndexOutOfRangeExceptionOverflowExceptionSynchronizationLockExceptionpublic void SetSecurityDescriptorBinaryForm(JCORefOut dupParam0, AccessControlSections dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, LockRecursionException, WaitHandleCannotBeOpenedException, AbandonedMutexException, IndexOutOfRangeException, OverflowException, SynchronizationLockException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionLockRecursionExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionIndexOutOfRangeExceptionOverflowExceptionSynchronizationLockExceptionpublic void SetSecurityDescriptorSddlForm(java.lang.String sddlForm)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
ObjectDisposedException,
LockRecursionException,
PlatformNotSupportedException,
AbandonedMutexException,
OutOfMemoryException,
Win32Exception,
ArrayTypeMismatchException,
IndexOutOfRangeException,
OverflowException,
SynchronizationLockException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionObjectDisposedExceptionLockRecursionExceptionPlatformNotSupportedExceptionAbandonedMutexExceptionOutOfMemoryExceptionWin32ExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOverflowExceptionSynchronizationLockExceptionpublic void SetSecurityDescriptorSddlForm(java.lang.String sddlForm,
AccessControlSections includeSections)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
LockRecursionException,
WaitHandleCannotBeOpenedException,
AbandonedMutexException,
OutOfMemoryException,
Win32Exception,
IndexOutOfRangeException,
OverflowException,
SynchronizationLockException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionLockRecursionExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionOutOfMemoryExceptionWin32ExceptionIndexOutOfRangeExceptionOverflowExceptionSynchronizationLockException