Package org.jboss.identity.federation.core.config

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


      try
      {
         String pkgName = "org.jboss.identity.federation.core.config";
         InputStream stream = configurationFile.openStream();
         JAXBElement<STSType> element = (JAXBElement<STSType>) JAXBUtil.getUnmarshaller(pkgName).unmarshal(stream);
         STSType stsConfig = element.getValue();
         STSConfiguration configuration = new JBossSTSConfiguration(stsConfig);
         if(logger.isInfoEnabled())
            logger.info("jboss-sts.xml configuration file loaded");
         return configuration;
      }
View Full Code Here


    * Creates an instance of {@code JBossSTSConfiguration} with default configuration values.
    * </p>
    */
   public JBossSTSConfiguration()
   {
      this.delegate = new STSType();
      this.delegate.setRequestHandler("org.jboss.identity.federation.core.wstrust.StandardRequestHandler");
      // TODO: add default token provider classes.
   }
View Full Code Here

      try
      {
         String pkgName = "org.jboss.identity.federation.core.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

    * Creates an instance of {@code JBossSTSConfiguration} with default configuration values.
    * </p>
    */
   public JBossSTSConfiguration()
   {
      this.delegate = new STSType();
      this.delegate.setRequestHandler("org.jboss.identity.federation.core.wstrust.StandardRequestHandler");
      // TODO: add default token provider classes.
   }
View Full Code Here

TOP

Related Classes of org.jboss.identity.federation.core.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.