Package org.apache.jetspeed.security.mfa

Examples of org.apache.jetspeed.security.mfa.MultiFacetedAuthentication


            config.load(is);
            is.close();
            InputStream tis = new FileInputStream(ttsLocation);
            tconfig.load(tis);
            tis.close();           
            MultiFacetedAuthentication mfa = new MultiFacetedAuthenticationImpl(config, tconfig);
            MFA.setInstance(mfa);
        }
        catch (Exception e)
        {
            e.printStackTrace();
View Full Code Here


   
  // TODO: Re-read the properties files as few times as possible.

    public void contextDestroyed(ServletContextEvent arg0)
    {
        MultiFacetedAuthentication mfa = MFA.getInstance();
        if (mfa != null)
            mfa.destroy();
    }
View Full Code Here

            PropertiesConfiguration ttsConfig = new PropertiesConfiguration();
            ttsConfig.load(tis);
            tis.close();
           
            String rootPath = event.getServletContext().getRealPath("/");
            MultiFacetedAuthentication mfa = new MultiFacetedAuthenticationImpl(config, ttsConfig, rootPath);
            MFA.setInstance(mfa);
        }
        catch (Throwable e)
        {
            logger.error("Unexpected error during loading configuration.", e);
            PropertiesConfiguration config = new PropertiesConfiguration();
            PropertiesConfiguration ttsConfig = new PropertiesConfiguration();
            MultiFacetedAuthentication mfa = new MultiFacetedAuthenticationImpl(config, ttsConfig);
            MFA.setInstance(mfa);           
        }
    }
View Full Code Here

            config.load(is);
            is.close();
            InputStream tis = new FileInputStream(ttsLocation);
            tconfig.load(tis);
            tis.close();           
            MultiFacetedAuthentication mfa = new MultiFacetedAuthenticationImpl(config, tconfig);
            MFA.setInstance(mfa);
        }
        catch (Exception e)
        {
            e.printStackTrace();
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.security.mfa.MultiFacetedAuthentication

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.