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: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: mscorlib
|
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
java.lang.Throwablepublic boolean getAreAccessRulesProtected()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getAreAuditRulesCanonical()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getAreAuditRulesProtected()
throws java.lang.Throwable
java.lang.Throwablepublic NetType getAuditRuleType() throws java.lang.Throwable
java.lang.Throwablepublic IdentityReference GetGroup(NetType targetType) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic 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, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic byte[] GetSecurityDescriptorBinaryForm()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic java.lang.String GetSecurityDescriptorSddlForm(AccessControlSections includeSections) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionOutOfMemoryExceptionpublic 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, ArgumentNullException, InvalidOperationException, ArgumentException
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionArgumentExceptionpublic boolean ModifyAuditRule(AccessControlModification modification, AuditRule rule, JCORefOut<java.util.concurrent.atomic.AtomicBoolean> modified) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionArgumentExceptionpublic void PurgeAccessRules(IdentityReference identity) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic void PurgeAuditRules(IdentityReference identity) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic void SetAccessRuleProtection(boolean isProtected,
boolean preserveInheritance)
throws java.lang.Throwable,
InvalidOperationException,
ArgumentOutOfRangeException
java.lang.ThrowableInvalidOperationExceptionArgumentOutOfRangeExceptionpublic void SetAuditRuleProtection(boolean isProtected,
boolean preserveInheritance)
throws java.lang.Throwable,
InvalidOperationException,
ArgumentOutOfRangeException
java.lang.ThrowableInvalidOperationExceptionArgumentOutOfRangeExceptionpublic void SetGroup(IdentityReference identity) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void SetOwner(IdentityReference identity) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic void SetSecurityDescriptorBinaryForm(byte[] binaryForm)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
FormatException,
SystemException,
OverflowException,
InvalidOperationException
public void SetSecurityDescriptorBinaryForm(byte[] binaryForm,
AccessControlSections includeSections)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
FormatException,
SystemException,
OverflowException,
InvalidOperationException
public void SetSecurityDescriptorBinaryForm(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, SystemException, OverflowException, InvalidOperationException
public void SetSecurityDescriptorBinaryForm(JCORefOut dupParam0, AccessControlSections dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, SystemException, OverflowException, InvalidOperationException
public void SetSecurityDescriptorSddlForm(java.lang.String sddlForm)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
OutOfMemoryException,
SystemException,
ArgumentOutOfRangeException,
FormatException,
OverflowException
public void SetSecurityDescriptorSddlForm(java.lang.String sddlForm,
AccessControlSections includeSections)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
OutOfMemoryException,
SystemException,
ArgumentOutOfRangeException,
FormatException,
OverflowException