public class Claim extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IdentityModel.Claims.Claim
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.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.IdentityModel
|
static java.lang.String |
className
Qualified class name: System.IdentityModel.Claims.Claim
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Claim() |
Claim(java.lang.Object instance)
Internal constructor.
|
Claim(java.lang.String claimType,
NetObject resource,
java.lang.String right) |
| Modifier and Type | Method and Description |
|---|---|
static Claim |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Claim, a cast assert is made to check if types are compatible. |
static Claim |
CreateDenyOnlyWindowsSidClaim(SecurityIdentifier sid) |
static Claim |
CreateDnsClaim(java.lang.String dns) |
static Claim |
CreateHashClaim(byte[] hash) |
static Claim |
CreateHashClaim(JCORefOut dupParam0) |
static Claim |
CreateMailAddressClaim(MailAddress mailAddress) |
static Claim |
CreateNameClaim(java.lang.String name) |
static Claim |
CreateRsaClaim(RSA rsa) |
static Claim |
CreateSpnClaim(java.lang.String spn) |
static Claim |
CreateThumbprintClaim(byte[] thumbprint) |
static Claim |
CreateThumbprintClaim(JCORefOut dupParam0) |
static Claim |
CreateUpnClaim(java.lang.String upn) |
static Claim |
CreateUriClaim(Uri uri) |
static Claim |
CreateWindowsSidClaim(SecurityIdentifier sid) |
static Claim |
CreateX500DistinguishedNameClaim(X500DistinguishedName x500DistinguishedName) |
java.lang.String |
getClaimType() |
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
|
NetObject |
getResource() |
java.lang.String |
getRight() |
static Claim |
getSystem() |
void |
setJCOInstance(JCObject instance) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Claim()
throws java.lang.Throwable
java.lang.Throwablepublic Claim(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic Claim(java.lang.String claimType,
NetObject resource,
java.lang.String right)
throws java.lang.Throwable,
ArgumentException,
IndexOutOfRangeException,
MulticastNotSupportedException,
ArgumentNullException,
FormatException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ConfigurationErrorsException,
ArgumentOutOfRangeException,
OverflowException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionConfigurationErrorsExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionpublic static Claim cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Claim, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedClaim instancejava.lang.Throwable - in case of error during cast operationpublic static Claim CreateDenyOnlyWindowsSidClaim(SecurityIdentifier sid) throws java.lang.Throwable, ArgumentNullException, ArgumentException, IndexOutOfRangeException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
public static Claim CreateDnsClaim(java.lang.String dns) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
public static Claim CreateHashClaim(byte[] hash) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
public static Claim CreateHashClaim(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
public static Claim CreateMailAddressClaim(MailAddress mailAddress) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
public static Claim CreateNameClaim(java.lang.String name) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
public static Claim CreateRsaClaim(RSA rsa) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
public static Claim CreateSpnClaim(java.lang.String spn) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
public static Claim CreateThumbprintClaim(byte[] thumbprint) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
public static Claim CreateThumbprintClaim(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
public static Claim CreateUpnClaim(java.lang.String upn) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
public static Claim CreateUriClaim(Uri uri) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
public static Claim CreateWindowsSidClaim(SecurityIdentifier sid) throws java.lang.Throwable, ArgumentNullException, ArgumentException, IndexOutOfRangeException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
public static Claim CreateX500DistinguishedNameClaim(X500DistinguishedName x500DistinguishedName) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
public java.lang.String getClaimType()
throws java.lang.Throwable
java.lang.Throwablepublic 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 NetObject getResource() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getRight()
throws java.lang.Throwable
java.lang.Throwablepublic static Claim getSystem() throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, OutOfMemoryException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObject