Package org.dbwiki.web.security

Examples of org.dbwiki.web.security.WikiServletAuthenticator


   * Constructors
   */
 
  public WikiServerServlet(String prefix, Properties properties) throws org.dbwiki.exception.WikiException {
    super(prefix, properties);
    _authenticator = new WikiServletAuthenticator(_authenticationMode, _users);
  }
View Full Code Here


      if (org.dbwiki.lib.JDBC.hasColumn(rs, RelDatabaseColURLDecoding)) {
        urlDecodingVersion = rs.getInt(RelDatabaseColURLDecoding);
      }
      int autoSchemaChanges = rs.getInt(RelDatabaseColAutoSchemaChanges);
      ConfigSetting setting = new ConfigSetting(layoutVersion, templateVersion, styleSheetVersion, urlDecodingVersion);
      WikiServletAuthenticator authenticator = new WikiServletAuthenticator(rs.getInt(RelDatabaseColAuthentication), _users);
      _wikiListing.add(new DatabaseWikiServlet(id, name, title, autoSchemaChanges, authenticator, setting, _connector, this));
    }
    rs.close();
    stmt.close();
  }
View Full Code Here

    con.setTransactionIsolation(Connection.TRANSACTION_SERIALIZABLE);
    try {
     
      wikiID = r.createDatabase(con, versionIndex);
      con.commit();
      WikiServletAuthenticator authenticator = new WikiServletAuthenticator(authenticationMode, _users);
      DatabaseWikiServlet wiki = new DatabaseWikiServlet(wikiID, name, title, autoSchemaChanges, authenticator, _connector, this,
                  con, versionIndex);
      _wikiListing.add(wiki);
      Collections.sort(_wikiListing);
      //
View Full Code Here

TOP

Related Classes of org.dbwiki.web.security.WikiServletAuthenticator

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.