public class SecurityContextSecurityToken extends SecurityToken implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.ServiceModel.Security.Tokens.SecurityContextSecurityToken
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.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.ServiceModel
|
static java.lang.String |
className
Qualified class name: System.ServiceModel.Security.Tokens.SecurityContextSecurityToken
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SecurityContextSecurityToken() |
SecurityContextSecurityToken(java.lang.Object instance)
Internal constructor.
|
SecurityContextSecurityToken(UniqueId contextId,
byte[] key,
DateTime validFrom,
DateTime validTo) |
SecurityContextSecurityToken(UniqueId contextId,
java.lang.String id,
byte[] key,
DateTime validFrom,
DateTime validTo) |
SecurityContextSecurityToken(UniqueId contextId,
java.lang.String id,
byte[] key,
DateTime validFrom,
DateTime validTo,
ReadOnlyCollection_1 authorizationPolicies) |
SecurityContextSecurityToken(UniqueId contextId,
java.lang.String id,
byte[] key,
DateTime validFrom,
DateTime validTo,
UniqueId keyGeneration,
DateTime keyEffectiveTime,
DateTime keyExpirationTime,
ReadOnlyCollection_1 authorizationPolicies) |
| Modifier and Type | Method and Description |
|---|---|
<T extends IJCOBridgeReflected> |
CanCreateKeyIdentifierClause() |
static SecurityContextSecurityToken |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SecurityContextSecurityToken, a cast assert is made to check if types are compatible. |
void |
close() |
static SecurityContextSecurityToken |
CreateCookieSecurityContextToken(UniqueId contextId,
java.lang.String id,
byte[] key,
DateTime validFrom,
DateTime validTo,
ReadOnlyCollection_1 authorizationPolicies,
SecurityStateEncoder securityStateEncoder) |
static SecurityContextSecurityToken |
CreateCookieSecurityContextToken(UniqueId contextId,
java.lang.String id,
byte[] key,
DateTime validFrom,
DateTime validTo,
UniqueId keyGeneration,
DateTime keyEffectiveTime,
DateTime keyExpirationTime,
ReadOnlyCollection_1 authorizationPolicies,
SecurityStateEncoder securityStateEncoder) |
static SecurityContextSecurityToken |
CreateCookieSecurityContextToken(UniqueId dupParam0,
java.lang.String dupParam1,
JCORefOut dupParam2,
DateTime dupParam3,
DateTime dupParam4,
ReadOnlyCollection_1 dupParam5,
SecurityStateEncoder dupParam6) |
static SecurityContextSecurityToken |
CreateCookieSecurityContextToken(UniqueId dupParam0,
java.lang.String dupParam1,
JCORefOut dupParam2,
DateTime dupParam3,
DateTime dupParam4,
UniqueId dupParam5,
DateTime dupParam6,
DateTime dupParam7,
ReadOnlyCollection_1 dupParam8,
SecurityStateEncoder dupParam9) |
void |
Dispose() |
ReadOnlyCollection_1 |
getAuthorizationPolicies() |
SecurityMessageProperty |
getBootstrapMessageProperty() |
UniqueId |
getContextId() |
boolean |
getIsCookieMode() |
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
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
DateTime |
getKeyEffectiveTime() |
DateTime |
getKeyExpirationTime() |
UniqueId |
getKeyGeneration() |
boolean |
MatchesKeyIdentifierClause(SecurityKeyIdentifierClause keyIdentifierClause) |
void |
setAuthorizationPolicies(ReadOnlyCollection_1 AuthorizationPolicies) |
void |
setBootstrapMessageProperty(SecurityMessageProperty BootstrapMessageProperty) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
getId, getSecurityKeys, getValidFrom, getValidTo, ResolveKeyIdentifierClausepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic SecurityContextSecurityToken()
throws java.lang.Throwable
java.lang.Throwablepublic SecurityContextSecurityToken(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic SecurityContextSecurityToken(UniqueId contextId, byte[] key, DateTime validFrom, DateTime validTo) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, MissingManifestResourceException, OutOfMemoryException, OverflowException, NotImplementedException
public SecurityContextSecurityToken(UniqueId contextId, java.lang.String id, byte[] key, DateTime validFrom, DateTime validTo) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, OutOfMemoryException, OverflowException, ArgumentOutOfRangeException
public SecurityContextSecurityToken(UniqueId contextId, java.lang.String id, byte[] key, DateTime validFrom, DateTime validTo, ReadOnlyCollection_1 authorizationPolicies) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, InvalidTimeZoneException, NotSupportedException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionConfigurationErrorsExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionInvalidTimeZoneExceptionNotSupportedExceptionpublic SecurityContextSecurityToken(UniqueId contextId, java.lang.String id, byte[] key, DateTime validFrom, DateTime validTo, UniqueId keyGeneration, DateTime keyEffectiveTime, DateTime keyExpirationTime, ReadOnlyCollection_1 authorizationPolicies) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, InvalidTimeZoneException, NotSupportedException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionConfigurationErrorsExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionInvalidTimeZoneExceptionNotSupportedExceptionpublic <T extends IJCOBridgeReflected> boolean CanCreateKeyIdentifierClause() throws java.lang.Throwable
CanCreateKeyIdentifierClause in class SecurityTokenjava.lang.Throwablepublic static SecurityContextSecurityToken cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SecurityContextSecurityToken, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSecurityContextSecurityToken instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic static SecurityContextSecurityToken CreateCookieSecurityContextToken(UniqueId contextId, java.lang.String id, byte[] key, DateTime validFrom, DateTime validTo, ReadOnlyCollection_1 authorizationPolicies, SecurityStateEncoder securityStateEncoder) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, OutOfMemoryException, ArgumentOutOfRangeException, OverflowException, KeyNotFoundException, SecurityException, AccessViolationException, PlatformNotSupportedException, SystemException, CultureNotFoundException, CryptographicException, NullReferenceException, NotImplementedException, UriFormatException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionOverflowExceptionKeyNotFoundExceptionSecurityExceptionAccessViolationExceptionPlatformNotSupportedExceptionSystemExceptionCultureNotFoundExceptionCryptographicExceptionNullReferenceExceptionNotImplementedExceptionUriFormatExceptionpublic static SecurityContextSecurityToken CreateCookieSecurityContextToken(UniqueId contextId, java.lang.String id, byte[] key, DateTime validFrom, DateTime validTo, UniqueId keyGeneration, DateTime keyEffectiveTime, DateTime keyExpirationTime, ReadOnlyCollection_1 authorizationPolicies, SecurityStateEncoder securityStateEncoder) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, InvalidTimeZoneException, NotSupportedException, KeyNotFoundException, PlatformNotSupportedException, SystemException, CryptographicException, NullReferenceException, NotImplementedException, UriFormatException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionConfigurationErrorsExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionInvalidTimeZoneExceptionNotSupportedExceptionKeyNotFoundExceptionPlatformNotSupportedExceptionSystemExceptionCryptographicExceptionNullReferenceExceptionNotImplementedExceptionUriFormatExceptionpublic static SecurityContextSecurityToken CreateCookieSecurityContextToken(UniqueId dupParam0, java.lang.String dupParam1, JCORefOut dupParam2, DateTime dupParam3, DateTime dupParam4, ReadOnlyCollection_1 dupParam5, SecurityStateEncoder dupParam6) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, OutOfMemoryException, ArgumentOutOfRangeException, OverflowException, KeyNotFoundException, SecurityException, AccessViolationException, PlatformNotSupportedException, SystemException, CultureNotFoundException, CryptographicException, NullReferenceException, NotImplementedException, UriFormatException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionOverflowExceptionKeyNotFoundExceptionSecurityExceptionAccessViolationExceptionPlatformNotSupportedExceptionSystemExceptionCultureNotFoundExceptionCryptographicExceptionNullReferenceExceptionNotImplementedExceptionUriFormatExceptionpublic static SecurityContextSecurityToken CreateCookieSecurityContextToken(UniqueId dupParam0, java.lang.String dupParam1, JCORefOut dupParam2, DateTime dupParam3, DateTime dupParam4, UniqueId dupParam5, DateTime dupParam6, DateTime dupParam7, ReadOnlyCollection_1 dupParam8, SecurityStateEncoder dupParam9) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, InvalidTimeZoneException, NotSupportedException, KeyNotFoundException, PlatformNotSupportedException, SystemException, CryptographicException, NullReferenceException, NotImplementedException, UriFormatException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionConfigurationErrorsExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionInvalidTimeZoneExceptionNotSupportedExceptionKeyNotFoundExceptionPlatformNotSupportedExceptionSystemExceptionCryptographicExceptionNullReferenceExceptionNotImplementedExceptionUriFormatExceptionpublic void Dispose()
throws java.lang.Throwable
java.lang.Throwablepublic ReadOnlyCollection_1 getAuthorizationPolicies() throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, SecurityException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionConfigurationErrorsExceptionArgumentOutOfRangeExceptionOverflowExceptionSecurityExceptionOutOfMemoryExceptionpublic SecurityMessageProperty getBootstrapMessageProperty() throws java.lang.Throwable
java.lang.Throwablepublic UniqueId getContextId() throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsCookieMode()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class SecurityTokenString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class SecurityTokenString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class SecurityTokenObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class SecurityTokenString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class SecurityTokenJCType representing the CLR Type of the instantiated Classpublic DateTime getKeyEffectiveTime() throws java.lang.Throwable
java.lang.Throwablepublic DateTime getKeyExpirationTime() throws java.lang.Throwable
java.lang.Throwablepublic UniqueId getKeyGeneration() throws java.lang.Throwable
java.lang.Throwablepublic boolean MatchesKeyIdentifierClause(SecurityKeyIdentifierClause keyIdentifierClause) throws java.lang.Throwable
MatchesKeyIdentifierClause in class SecurityTokenjava.lang.Throwablepublic void setAuthorizationPolicies(ReadOnlyCollection_1 AuthorizationPolicies) throws java.lang.Throwable
java.lang.Throwablepublic void setBootstrapMessageProperty(SecurityMessageProperty BootstrapMessageProperty) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class SecurityToken