public class SessionSecurityTokenHandler extends SecurityTokenHandler
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IdentityModel.Tokens.SessionSecurityTokenHandler
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.Tokens.SessionSecurityTokenHandler
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SessionSecurityTokenHandler() |
SessionSecurityTokenHandler(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CanReadToken(XmlReader reader) |
static SessionSecurityTokenHandler |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SessionSecurityTokenHandler, a cast assert is made to check if types are compatible. |
SessionSecurityToken |
CreateSessionSecurityToken(ClaimsPrincipal principal,
java.lang.String context,
java.lang.String endpointId,
DateTime validFrom,
DateTime validTo) |
SecurityToken |
CreateToken(SecurityTokenDescriptor tokenDescriptor) |
java.lang.String |
getCookieElementName() |
java.lang.String |
getCookieNamespace() |
static TimeSpan |
getDefaultTokenLifetime() |
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
|
TimeSpan |
getTokenLifetime() |
java.lang.String[] |
GetTokenTypeIdentifiers() |
void |
LoadCustomConfiguration(XmlNodeList customConfigElements) |
SecurityToken |
ReadToken(byte[] token,
SecurityTokenResolver tokenResolver) |
SecurityToken |
ReadToken(JCORefOut dupParam0,
SecurityTokenResolver dupParam1) |
SecurityToken |
ReadToken(XmlReader reader) |
SecurityToken |
ReadToken(XmlReader reader,
SecurityTokenResolver tokenResolver) |
void |
setJCOInstance(JCObject instance) |
void |
setTokenLifetime(TimeSpan TokenLifetime) |
byte[] |
WriteToken(SessionSecurityToken sessionToken) |
void |
WriteToken(XmlWriter writer,
SecurityToken token) |
CanReadKeyIdentifierClause, CanReadToken, CanWriteKeyIdentifierClause, CreateSecurityTokenReference, getCanValidateToken, getCanWriteToken, getConfiguration, getContainingCollection, getTokenType, ReadKeyIdentifierClause, ReadToken, setConfiguration, setContainingCollection, WriteKeyIdentifierClause, WriteTokenpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SessionSecurityTokenHandler()
throws java.lang.Throwable,
ArgumentException,
IndexOutOfRangeException,
ArgumentNullException,
MissingManifestResourceException,
InvalidOperationException,
OutOfMemoryException
public SessionSecurityTokenHandler(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic boolean CanReadToken(XmlReader reader) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
CanReadToken in class SecurityTokenHandlerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionpublic static SessionSecurityTokenHandler cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SessionSecurityTokenHandler, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSessionSecurityTokenHandler instancejava.lang.Throwable - in case of error during cast operationpublic SessionSecurityToken CreateSessionSecurityToken(ClaimsPrincipal principal, java.lang.String context, java.lang.String endpointId, DateTime validFrom, DateTime validTo) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
public SecurityToken CreateToken(SecurityTokenDescriptor tokenDescriptor) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException
CreateToken in class SecurityTokenHandlerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionpublic java.lang.String getCookieElementName()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getCookieNamespace()
throws java.lang.Throwable
java.lang.Throwablepublic static TimeSpan getDefaultTokenLifetime() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class SecurityTokenHandlerString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class SecurityTokenHandlerString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class SecurityTokenHandlerObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class SecurityTokenHandlerString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class SecurityTokenHandlerJCType representing the CLR Type of the instantiated Classpublic TimeSpan getTokenLifetime() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String[] GetTokenTypeIdentifiers()
throws java.lang.Throwable
GetTokenTypeIdentifiers in class SecurityTokenHandlerjava.lang.Throwablepublic void LoadCustomConfiguration(XmlNodeList customConfigElements) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, CultureNotFoundException, NotSupportedException
LoadCustomConfiguration in class SecurityTokenHandlerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionCultureNotFoundExceptionNotSupportedExceptionpublic SecurityToken ReadToken(byte[] token, SecurityTokenResolver tokenResolver) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionConfigurationErrorsExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionpublic SecurityToken ReadToken(JCORefOut dupParam0, SecurityTokenResolver dupParam1) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionConfigurationErrorsExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionpublic SecurityToken ReadToken(XmlReader reader) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, NotImplementedException, CultureNotFoundException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, OutOfMemoryException
ReadToken in class SecurityTokenHandlerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionNotImplementedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionOverflowExceptionOutOfMemoryExceptionpublic SecurityToken ReadToken(XmlReader reader, SecurityTokenResolver tokenResolver) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, XmlException, NotSupportedException, SerializationException
ReadToken in class SecurityTokenHandlerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionXmlExceptionNotSupportedExceptionSerializationExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class SecurityTokenHandlerpublic void setTokenLifetime(TimeSpan TokenLifetime) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, OverflowException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionpublic byte[] WriteToken(SessionSecurityToken sessionToken) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionpublic void WriteToken(XmlWriter writer, SecurityToken token) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException, SerializationException, SecurityException, TargetException, NullReferenceException
WriteToken in class SecurityTokenHandlerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionSerializationExceptionSecurityExceptionTargetExceptionNullReferenceException