All Downloads are FREE. Search and download functionalities are using the official Maven repository.

system.identitymodel.configuration.SecurityTokenServiceConfiguration Maven / Gradle / Ivy

/*
 *  MIT License
 *
 *  Copyright (c) 2024 MASES s.r.l.
 *
 *  Permission is hereby granted, free of charge, to any person obtaining a copy
 *  of this software and associated documentation files (the "Software"), to deal
 *  in the Software without restriction, including without limitation the rights
 *  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 *  copies of the Software, and to permit persons to whom the Software is
 *  furnished to do so, subject to the following conditions:
 *
 *  The above copyright notice and this permission notice shall be included in all
 *  copies or substantial portions of the Software.
 *
 *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 *  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 *  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 *  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 *  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 *  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 *  SOFTWARE.
 */

/**************************************************************************************
 * 
 *      This code was generated from a template using JCOReflector v. 1.14.0.0
 * 
 *      Manual changes to this file may cause unexpected behavior in your application.
 *      Manual changes to this file will be overwritten if the code is regenerated.
 * 
 *************************************************************************************/

package system.identitymodel.configuration;

import org.mases.jcobridge.*;
import org.mases.jcobridge.netreflection.*;
import java.util.ArrayList;

// Import section
import system.identitymodel.configuration.IdentityConfiguration;
import system.identitymodel.tokens.SigningCredentials;
import system.identitymodel.SecurityTokenService;
import system.identitymodel.protocols.wstrust.WSTrust13RequestSerializer;
import system.identitymodel.protocols.wstrust.WSTrust13ResponseSerializer;
import system.identitymodel.protocols.wstrust.WSTrustFeb2005RequestSerializer;
import system.identitymodel.protocols.wstrust.WSTrustFeb2005ResponseSerializer;
import system.TimeSpan;


/**
 * The base .NET class managing System.IdentityModel.Configuration.SecurityTokenServiceConfiguration, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.
 * 

* * .NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IdentityModel.Configuration.SecurityTokenServiceConfiguration *

* * Powered by JCOBridge: more info at https://www.jcobridge.com * * @author MASES s.r.l https://masesgroup.com * @version 1.14.0.0 */ public class SecurityTokenServiceConfiguration extends IdentityConfiguration { /** * Fully assembly qualified name: System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 */ public static final String assemblyFullName = "System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"; /** * Assembly name: System.IdentityModel */ public static final String assemblyShortName = "System.IdentityModel"; /** * Qualified class name: System.IdentityModel.Configuration.SecurityTokenServiceConfiguration */ public static final String className = "System.IdentityModel.Configuration.SecurityTokenServiceConfiguration"; static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName); /** * The type managed from JCOBridge. See {@link JCType} */ public static JCType classType = createType(); static JCEnum enumInstance = null; JCObject classInstance = null; static JCType createType() { try { String classToCreate = className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName); if (JCOReflector.getDebug()) JCOReflector.writeLog("Creating %s", classToCreate); JCType typeCreated = bridge.GetType(classToCreate); if (JCOReflector.getDebug()) JCOReflector.writeLog("Created: %s", (typeCreated != null) ? typeCreated.toString() : "Returned null value"); return typeCreated; } catch (JCException e) { JCOReflector.writeLog(e); return null; } } void addReference(String ref) throws Throwable { try { bridge.AddReference(ref); } catch (JCNativeException jcne) { throw translateException(jcne); } } /** * Internal constructor. Use with caution */ public SecurityTokenServiceConfiguration(java.lang.Object instance) throws Throwable { super(instance); if (instance instanceof JCObject) { classInstance = (JCObject) instance; } else throw new Exception("Cannot manage object, it is not a JCObject"); } public String getJCOAssemblyName() { return assemblyFullName; } public String getJCOClassName() { return className; } public String getJCOObjectName() { return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName); } public java.lang.Object getJCOInstance() { return classInstance; } public void setJCOInstance(JCObject instance) { classInstance = instance; super.setJCOInstance(classInstance); } public JCType getJCOType() { return classType; } /** * Try to cast the {@link IJCOBridgeReflected} instance into {@link SecurityTokenServiceConfiguration}, a cast assert is made to check if types are compatible. * @param from {@link IJCOBridgeReflected} instance to be casted * @return {@link SecurityTokenServiceConfiguration} instance * @throws java.lang.Throwable in case of error during cast operation */ public static SecurityTokenServiceConfiguration cast(IJCOBridgeReflected from) throws Throwable { NetType.AssertCast(classType, from); return new SecurityTokenServiceConfiguration(from.getJCOInstance()); } // Constructors section public SecurityTokenServiceConfiguration() throws Throwable, system.ArgumentException, system.OverflowException, system.ArgumentNullException, system.ObjectDisposedException, system.InvalidOperationException, system.reflection.AmbiguousMatchException, system.configuration.ConfigurationErrorsException, system.collections.generic.KeyNotFoundException, system.NotSupportedException, system.configuration.ConfigurationException, system.IndexOutOfRangeException, system.OutOfMemoryException, system.NotImplementedException, system.MissingMethodException, system.TypeLoadException, system.ArgumentOutOfRangeException { try { // add reference to assemblyName.dll file addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName); setJCOInstance((JCObject)classType.NewObject()); } catch (JCNativeException jcne) { throw translateException(jcne); } } public SecurityTokenServiceConfiguration(boolean loadConfig) throws Throwable, system.ArgumentException, system.OverflowException, system.ArgumentNullException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, system.ArgumentOutOfRangeException, system.OutOfMemoryException, system.ObjectDisposedException, system.InvalidOperationException, system.reflection.AmbiguousMatchException, system.configuration.ConfigurationErrorsException, system.collections.generic.KeyNotFoundException, system.NotSupportedException, system.configuration.ConfigurationException, system.MissingMethodException { try { // add reference to assemblyName.dll file addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName); setJCOInstance((JCObject)classType.NewObject(loadConfig)); } catch (JCNativeException jcne) { throw translateException(jcne); } } public SecurityTokenServiceConfiguration(java.lang.String issuerName) throws Throwable, system.ArgumentException, system.OverflowException, system.ArgumentNullException, system.ObjectDisposedException, system.InvalidOperationException, system.reflection.AmbiguousMatchException, system.configuration.ConfigurationErrorsException, system.collections.generic.KeyNotFoundException, system.NotSupportedException, system.configuration.ConfigurationException, system.IndexOutOfRangeException, system.OutOfMemoryException, system.NotImplementedException, system.MissingMethodException, system.TypeLoadException, system.ArgumentOutOfRangeException { try { // add reference to assemblyName.dll file addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName); setJCOInstance((JCObject)classType.NewObject(issuerName)); } catch (JCNativeException jcne) { throw translateException(jcne); } } public SecurityTokenServiceConfiguration(java.lang.String issuerName, boolean loadConfig) throws Throwable, system.ArgumentException, system.OverflowException, system.ArgumentNullException, system.NotImplementedException, system.globalization.CultureNotFoundException, system.IndexOutOfRangeException, system.ArgumentOutOfRangeException, system.OutOfMemoryException, system.ObjectDisposedException, system.InvalidOperationException, system.reflection.AmbiguousMatchException, system.configuration.ConfigurationErrorsException, system.collections.generic.KeyNotFoundException, system.NotSupportedException, system.configuration.ConfigurationException, system.MissingMethodException { try { // add reference to assemblyName.dll file addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName); setJCOInstance((JCObject)classType.NewObject(issuerName, loadConfig)); } catch (JCNativeException jcne) { throw translateException(jcne); } } public SecurityTokenServiceConfiguration(java.lang.String issuerName, SigningCredentials signingCredentials) throws Throwable, system.ArgumentException, system.OverflowException, system.ArgumentNullException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.threading.AbandonedMutexException, system.InvalidOperationException, system.reflection.AmbiguousMatchException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.configuration.ConfigurationErrorsException, system.collections.generic.KeyNotFoundException, system.configuration.ConfigurationException, system.OutOfMemoryException, system.MissingMethodException, system.reflection.TargetInvocationException, system.UriFormatException, system.TypeLoadException { try { // add reference to assemblyName.dll file addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName); setJCOInstance((JCObject)classType.NewObject(issuerName, signingCredentials == null ? null : signingCredentials.getJCOInstance())); } catch (JCNativeException jcne) { throw translateException(jcne); } } public SecurityTokenServiceConfiguration(java.lang.String issuerName, SigningCredentials signingCredentials, boolean loadConfig) throws Throwable, system.ArgumentException, system.OverflowException, system.ArgumentNullException, system.resources.MissingManifestResourceException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.FormatException, system.OutOfMemoryException, system.IndexOutOfRangeException, system.reflection.AmbiguousMatchException, system.NotSupportedException, system.configuration.ConfigurationErrorsException, system.collections.generic.KeyNotFoundException, system.configuration.ConfigurationException, system.UriFormatException { try { // add reference to assemblyName.dll file addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName); setJCOInstance((JCObject)classType.NewObject(issuerName, signingCredentials == null ? null : signingCredentials.getJCOInstance(), loadConfig)); } catch (JCNativeException jcne) { throw translateException(jcne); } } public SecurityTokenServiceConfiguration(java.lang.String issuerName, SigningCredentials signingCredentials, java.lang.String serviceName) throws Throwable, system.ArgumentException, system.OverflowException, system.IndexOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException, system.FormatException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.InvalidOperationException, system.configuration.ConfigurationErrorsException, system.ArgumentOutOfRangeException, system.OutOfMemoryException, system.reflection.AmbiguousMatchException, system.NotSupportedException, system.collections.generic.KeyNotFoundException, system.MissingMethodException, system.reflection.TargetInvocationException, system.UriFormatException, system.TypeLoadException { try { // add reference to assemblyName.dll file addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName); setJCOInstance((JCObject)classType.NewObject(issuerName, signingCredentials == null ? null : signingCredentials.getJCOInstance(), serviceName)); } catch (JCNativeException jcne) { throw translateException(jcne); } } // Methods section public SecurityTokenService CreateSecurityTokenService() throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.MulticastNotSupportedException, system.FormatException, system.configuration.ConfigurationErrorsException, system.OverflowException, system.security.SecurityException, system.OutOfMemoryException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { JCObject objCreateSecurityTokenService = (JCObject)classInstance.Invoke("CreateSecurityTokenService"); return new SecurityTokenService(objCreateSecurityTokenService); } catch (JCNativeException jcne) { throw translateException(jcne); } } // Properties section public boolean getDisableWsdl() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (boolean)classInstance.Get("DisableWsdl"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setDisableWsdl(boolean DisableWsdl) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("DisableWsdl", DisableWsdl); } catch (JCNativeException jcne) { throw translateException(jcne); } } public int getDefaultMaxSymmetricKeySizeInBits() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (int)classInstance.Get("DefaultMaxSymmetricKeySizeInBits"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setDefaultMaxSymmetricKeySizeInBits(int DefaultMaxSymmetricKeySizeInBits) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.MulticastNotSupportedException, system.FormatException, system.configuration.ConfigurationErrorsException, system.OverflowException, system.security.SecurityException, system.OutOfMemoryException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("DefaultMaxSymmetricKeySizeInBits", DefaultMaxSymmetricKeySizeInBits); } catch (JCNativeException jcne) { throw translateException(jcne); } } public int getDefaultSymmetricKeySizeInBits() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (int)classInstance.Get("DefaultSymmetricKeySizeInBits"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setDefaultSymmetricKeySizeInBits(int DefaultSymmetricKeySizeInBits) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.MulticastNotSupportedException, system.FormatException, system.configuration.ConfigurationErrorsException, system.OverflowException, system.security.SecurityException, system.OutOfMemoryException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("DefaultSymmetricKeySizeInBits", DefaultSymmetricKeySizeInBits); } catch (JCNativeException jcne) { throw translateException(jcne); } } public WSTrust13RequestSerializer getWSTrust13RequestSerializer() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { JCObject val = (JCObject)classInstance.Get("WSTrust13RequestSerializer"); return new WSTrust13RequestSerializer(val); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setWSTrust13RequestSerializer(WSTrust13RequestSerializer WSTrust13RequestSerializer) throws Throwable, system.ArgumentException, system.IndexOutOfRangeException, system.ArgumentNullException, system.FormatException, system.resources.MissingManifestResourceException, system.NotImplementedException, system.ObjectDisposedException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.OverflowException, system.OutOfMemoryException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("WSTrust13RequestSerializer", WSTrust13RequestSerializer == null ? null : WSTrust13RequestSerializer.getJCOInstance()); } catch (JCNativeException jcne) { throw translateException(jcne); } } public WSTrust13ResponseSerializer getWSTrust13ResponseSerializer() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { JCObject val = (JCObject)classInstance.Get("WSTrust13ResponseSerializer"); return new WSTrust13ResponseSerializer(val); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setWSTrust13ResponseSerializer(WSTrust13ResponseSerializer WSTrust13ResponseSerializer) throws Throwable, system.ArgumentException, system.IndexOutOfRangeException, system.ArgumentNullException, system.FormatException, system.resources.MissingManifestResourceException, system.NotImplementedException, system.ObjectDisposedException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.OverflowException, system.OutOfMemoryException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("WSTrust13ResponseSerializer", WSTrust13ResponseSerializer == null ? null : WSTrust13ResponseSerializer.getJCOInstance()); } catch (JCNativeException jcne) { throw translateException(jcne); } } public WSTrustFeb2005RequestSerializer getWSTrustFeb2005RequestSerializer() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { JCObject val = (JCObject)classInstance.Get("WSTrustFeb2005RequestSerializer"); return new WSTrustFeb2005RequestSerializer(val); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setWSTrustFeb2005RequestSerializer(WSTrustFeb2005RequestSerializer WSTrustFeb2005RequestSerializer) throws Throwable, system.ArgumentException, system.IndexOutOfRangeException, system.ArgumentNullException, system.FormatException, system.resources.MissingManifestResourceException, system.NotImplementedException, system.ObjectDisposedException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.OverflowException, system.OutOfMemoryException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("WSTrustFeb2005RequestSerializer", WSTrustFeb2005RequestSerializer == null ? null : WSTrustFeb2005RequestSerializer.getJCOInstance()); } catch (JCNativeException jcne) { throw translateException(jcne); } } public WSTrustFeb2005ResponseSerializer getWSTrustFeb2005ResponseSerializer() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { JCObject val = (JCObject)classInstance.Get("WSTrustFeb2005ResponseSerializer"); return new WSTrustFeb2005ResponseSerializer(val); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setWSTrustFeb2005ResponseSerializer(WSTrustFeb2005ResponseSerializer WSTrustFeb2005ResponseSerializer) throws Throwable, system.ArgumentException, system.IndexOutOfRangeException, system.ArgumentNullException, system.FormatException, system.resources.MissingManifestResourceException, system.NotImplementedException, system.ObjectDisposedException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.OverflowException, system.OutOfMemoryException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("WSTrustFeb2005ResponseSerializer", WSTrustFeb2005ResponseSerializer == null ? null : WSTrustFeb2005ResponseSerializer.getJCOInstance()); } catch (JCNativeException jcne) { throw translateException(jcne); } } public SigningCredentials getSigningCredentials() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { JCObject val = (JCObject)classInstance.Get("SigningCredentials"); return new SigningCredentials(val); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setSigningCredentials(SigningCredentials SigningCredentials) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("SigningCredentials", SigningCredentials == null ? null : SigningCredentials.getJCOInstance()); } catch (JCNativeException jcne) { throw translateException(jcne); } } public java.lang.String getDefaultTokenType() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (java.lang.String)classInstance.Get("DefaultTokenType"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setDefaultTokenType(java.lang.String DefaultTokenType) throws Throwable, system.ArgumentException, system.IndexOutOfRangeException, system.MulticastNotSupportedException, system.ArgumentNullException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.configuration.ConfigurationErrorsException, system.OverflowException, system.security.SecurityException, system.OutOfMemoryException, system.collections.generic.KeyNotFoundException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("DefaultTokenType", DefaultTokenType); } catch (JCNativeException jcne) { throw translateException(jcne); } } public java.lang.String getTokenIssuerName() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (java.lang.String)classInstance.Get("TokenIssuerName"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setTokenIssuerName(java.lang.String TokenIssuerName) throws Throwable, system.ArgumentException, system.IndexOutOfRangeException, system.ArgumentNullException, system.FormatException, system.resources.MissingManifestResourceException, system.NotImplementedException, system.ObjectDisposedException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.OverflowException, system.OutOfMemoryException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("TokenIssuerName", TokenIssuerName); } catch (JCNativeException jcne) { throw translateException(jcne); } } public TimeSpan getDefaultTokenLifetime() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { JCObject val = (JCObject)classInstance.Get("DefaultTokenLifetime"); return new TimeSpan(val); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setDefaultTokenLifetime(TimeSpan DefaultTokenLifetime) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("DefaultTokenLifetime", DefaultTokenLifetime == null ? null : DefaultTokenLifetime.getJCOInstance()); } catch (JCNativeException jcne) { throw translateException(jcne); } } public TimeSpan getMaximumTokenLifetime() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { JCObject val = (JCObject)classInstance.Get("MaximumTokenLifetime"); return new TimeSpan(val); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setMaximumTokenLifetime(TimeSpan MaximumTokenLifetime) throws Throwable, system.ArgumentNullException, system.ArgumentException, system.InvalidOperationException, system.MissingMethodException, system.reflection.TargetInvocationException, system.NotImplementedException, system.NotSupportedException, system.ArgumentOutOfRangeException, system.globalization.CultureNotFoundException, system.resources.MissingManifestResourceException, system.ObjectDisposedException, system.MulticastNotSupportedException, system.FormatException, system.configuration.ConfigurationErrorsException, system.OverflowException, system.security.SecurityException, system.OutOfMemoryException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("MaximumTokenLifetime", MaximumTokenLifetime == null ? null : MaximumTokenLifetime.getJCOInstance()); } catch (JCNativeException jcne) { throw translateException(jcne); } } public NetType getSecurityTokenService() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { JCObject val = (JCObject)classInstance.Get("SecurityTokenService"); return new NetType(val); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setSecurityTokenService(NetType SecurityTokenService) throws Throwable, system.ArgumentException, system.IndexOutOfRangeException, system.ArgumentNullException, system.FormatException, system.resources.MissingManifestResourceException, system.NotImplementedException, system.ObjectDisposedException, system.InvalidOperationException, system.ArgumentOutOfRangeException, system.OverflowException, system.OutOfMemoryException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("SecurityTokenService", SecurityTokenService == null ? null : SecurityTokenService.getJCOInstance()); } catch (JCNativeException jcne) { throw translateException(jcne); } } // Instance Events section }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy