public class RolePrincipal extends ClaimsPrincipal implements ISerializable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.Security.RolePrincipal
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.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Web
|
static java.lang.String |
className
Qualified class name: System.Web.Security.RolePrincipal
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
RolePrincipal() |
RolePrincipal(IIdentity identity) |
RolePrincipal(IIdentity identity,
java.lang.String encryptedTicket) |
RolePrincipal(java.lang.Object instance)
Internal constructor.
|
RolePrincipal(java.lang.String providerName,
IIdentity identity) |
RolePrincipal(java.lang.String providerName,
IIdentity identity,
java.lang.String encryptedTicket) |
| Modifier and Type | Method and Description |
|---|---|
static RolePrincipal |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into RolePrincipal, a cast assert is made to check if types are compatible. |
boolean |
getCachedListChanged() |
java.lang.String |
getCookiePath() |
boolean |
getExpired() |
DateTime |
getExpireDate() |
boolean |
getIsRoleListCached() |
DateTime |
getIssueDate() |
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
|
java.lang.String |
getProviderName() |
java.lang.String[] |
GetRoles() |
int |
getVersion() |
boolean |
IsInRole(java.lang.String role) |
void |
SetDirty() |
void |
setJCOInstance(JCObject instance) |
java.lang.String |
ToEncryptedTicket() |
AddIdentity, Clone, FindFirst, getCurrent, getIdentity, HasClaim, WriteToEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringGetObjectData, ToISerializablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public RolePrincipal()
throws java.lang.Throwable
java.lang.Throwablepublic RolePrincipal(IIdentity identity) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, HttpException, ConfigurationErrorsException, NotSupportedException, ConfigurationException, ProviderException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionHttpExceptionConfigurationErrorsExceptionNotSupportedExceptionConfigurationExceptionProviderExceptionpublic RolePrincipal(IIdentity identity, java.lang.String encryptedTicket) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, HttpException, ArgumentOutOfRangeException, ConfigurationErrorsException, NotSupportedException, ConfigurationException, ProviderException, ThreadAbortException, FormatException, CryptographicException, PlatformNotSupportedException, SerializationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionHttpExceptionArgumentOutOfRangeExceptionConfigurationErrorsExceptionNotSupportedExceptionConfigurationExceptionProviderExceptionThreadAbortExceptionFormatExceptionCryptographicExceptionPlatformNotSupportedExceptionSerializationExceptionpublic RolePrincipal(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic RolePrincipal(java.lang.String providerName,
IIdentity identity)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
HttpException,
ConfigurationErrorsException,
ConfigurationException,
ProviderException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionHttpExceptionConfigurationErrorsExceptionConfigurationExceptionProviderExceptionpublic RolePrincipal(java.lang.String providerName,
IIdentity identity,
java.lang.String encryptedTicket)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
HttpException,
ConfigurationErrorsException,
ConfigurationException,
ProviderException,
ThreadAbortException,
FormatException,
CryptographicException,
PlatformNotSupportedException,
SerializationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionHttpExceptionConfigurationErrorsExceptionConfigurationExceptionProviderExceptionThreadAbortExceptionFormatExceptionCryptographicExceptionPlatformNotSupportedExceptionSerializationExceptionpublic static RolePrincipal cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into RolePrincipal, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedRolePrincipal instancejava.lang.Throwable - in case of error during cast operationpublic boolean getCachedListChanged()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getCookiePath()
throws java.lang.Throwable,
ArgumentException,
SecurityException,
ArgumentNullException,
TargetParameterCountException,
NotSupportedException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
HttpException,
ArgumentOutOfRangeException,
ProviderException,
ConfigurationErrorsException,
FormatException,
ConfigurationException,
TypeLoadException
java.lang.ThrowableArgumentExceptionSecurityExceptionArgumentNullExceptionTargetParameterCountExceptionNotSupportedExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionHttpExceptionArgumentOutOfRangeExceptionProviderExceptionConfigurationErrorsExceptionFormatExceptionConfigurationExceptionTypeLoadExceptionpublic boolean getExpired()
throws java.lang.Throwable,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic DateTime getExpireDate() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, NotSupportedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidTimeZoneExceptionNotSupportedExceptionpublic boolean getIsRoleListCached()
throws java.lang.Throwable
java.lang.Throwablepublic DateTime getIssueDate() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, NotSupportedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidTimeZoneExceptionNotSupportedExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface ISerializablegetJCOAssemblyName in class ClaimsPrincipalString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface ISerializablegetJCOClassName in class ClaimsPrincipalString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface ISerializablegetJCOInstance in class ClaimsPrincipalObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface ISerializablegetJCOObjectName in class ClaimsPrincipalString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface ISerializablegetJCOType in class ClaimsPrincipalJCType representing the CLR Type of the instantiated Classpublic java.lang.String getProviderName()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String[] GetRoles()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
ProviderException,
HttpException,
ConfigurationErrorsException,
ConfigurationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionProviderExceptionHttpExceptionConfigurationErrorsExceptionConfigurationExceptionpublic int getVersion()
throws java.lang.Throwable
java.lang.Throwablepublic boolean IsInRole(java.lang.String role)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
ProviderException,
HttpException,
ConfigurationErrorsException,
ConfigurationException
IsInRole in class ClaimsPrincipaljava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionProviderExceptionHttpExceptionConfigurationErrorsExceptionConfigurationExceptionpublic void SetDirty()
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class ClaimsPrincipalpublic java.lang.String ToEncryptedTicket()
throws java.lang.Throwable,
ArgumentException,
SecurityException,
ArgumentNullException,
NotImplementedException,
NotSupportedException,
InvalidOperationException,
MemberAccessException,
TargetException,
TargetParameterCountException,
ObjectDisposedException,
ArgumentOutOfRangeException,
HttpException,
ProviderException,
ConfigurationErrorsException,
TypeLoadException,
MissingMethodException,
TargetInvocationException,
SerializationException,
ThreadAbortException,
OutOfMemoryException,
PlatformNotSupportedException,
Win32Exception,
CryptographicException
java.lang.ThrowableArgumentExceptionSecurityExceptionArgumentNullExceptionNotImplementedExceptionNotSupportedExceptionInvalidOperationExceptionMemberAccessExceptionTargetExceptionTargetParameterCountExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionHttpExceptionProviderExceptionConfigurationErrorsExceptionTypeLoadExceptionMissingMethodExceptionTargetInvocationExceptionSerializationExceptionThreadAbortExceptionOutOfMemoryExceptionPlatformNotSupportedExceptionWin32ExceptionCryptographicException