Package org.jboss.identity.federation.bindings.config

Examples of org.jboss.identity.federation.bindings.config.STSType


    * Creates an instance of {@code JBossSTSConfiguration} with default configuration values.
    * </p>
    */
   public JBossSTSConfiguration()
   {
      this.delegate = new STSType();
      // set the default values in the delegate.
      this.delegate.setSTSName("JBossSTS");
      this.delegate.setEncryptToken(false);
      this.delegate.setTokenTimeout(3600);
      this.delegate.setRequestHandler("org.jboss.identity.federation.api.wstrust.StandardRequestHandler");
View Full Code Here


      try
      {
         String pkgName = "org.jboss.identity.federation.bindings.config";
         InputStream stream = configurationFile.openStream();
         JAXBElement<STSType> element = (JAXBElement<STSType>) JAXBUtil.getUnmarshaller(pkgName).unmarshal(stream);
         STSType stsConfig = element.getValue();
         return new JBossSTSConfiguration(stsConfig);
      }
      catch (Exception e)
      {
         throw new RuntimeException("Error parsing the configuration file:", e);
View Full Code Here

TOP

Related Classes of org.jboss.identity.federation.bindings.config.STSType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.