Package org.openid4java.server

Examples of org.openid4java.server.JdbcServerAssociationStore


    final Map mapComponentSettings)
  {
    this.log.trace("TokenGeneratorHandler::initialize");

        String tableName = (String) mapComponentSettings.get("AssocTableName");
        JdbcServerAssociationStore privateAssociations =
            new JdbcServerAssociationStore(tableName);

        boolean status = true;
        try
        {
            InitialContext cxt = new InitialContext();
            String dataSourceJndi = (String) mapComponentSettings.get("AssocDataSource");
            DataSource ds = (DataSource) cxt.lookup(dataSourceJndi);
            privateAssociations.setDataSource(ds);
        }
        catch (NamingException e)
        {
            log.error("Unable to load JNDI data source from context.");
            status = false;
View Full Code Here

TOP

Related Classes of org.openid4java.server.JdbcServerAssociationStore

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.