| Package | Description | 
|---|---|
| org.apache.wiki.auth | 
 Authentication, Authorization and the third A thing. 
 | 
| org.apache.wiki.auth.acl | 
 Access Control List implementation. 
 | 
| org.apache.wiki.auth.authorize | 
 Authorizer implementation. 
 | 
| org.apache.wiki.auth.user | |
| org.apache.wiki.tags | 
 Provides standard JSP tags for JSPWiki. 
 | 
| org.apache.wiki.ui | 
 Java classes for management of the JSP user interface. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
NoSuchPrincipalException
Thrown in some error situations where a WikiPrincipal object does not exist. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
UserManager.DummyUserDatabase.commit()
No-op. 
 | 
void | 
UserManager.DummyUserDatabase.deleteByLoginName(String loginName)
No-op. 
 | 
protected Set<Principal> | 
AuthenticationManager.doJAASLogin(Class<? extends LoginModule> clazz,
           CallbackHandler handler,
           Map<String,String> options)
Instantiates and executes a single JAAS
  
LoginModule, and returns a Set of
 Principals that results from a successful login. | 
Authorizer | 
AuthorizationManager.getAuthorizer()
Returns the current external  
Authorizer in use. | 
Principal[] | 
UserManager.DummyUserDatabase.getWikiNames()
No-op. 
 | 
void | 
Authorizer.initialize(WikiEngine engine,
          Properties props)
Initializes the authorizer. 
 | 
Principal[] | 
UserManager.listWikiNames()
A helper method for returning all of the known WikiNames in this system. 
 | 
boolean | 
AuthenticationManager.login(javax.servlet.http.HttpServletRequest request)
Logs in the user by attempting to populate a WikiSession Subject from
 a web servlet request by examining the request
  for the presence of container credentials and user cookies. 
 | 
boolean | 
AuthenticationManager.login(WikiSession session,
     javax.servlet.http.HttpServletRequest request,
     String username,
     String password)
Attempts to perform a WikiSession login for the given username/password
 combination using JSPWiki's custom authentication mode. 
 | 
boolean | 
AuthenticationManager.login(WikiSession session,
     String username,
     String password)
Deprecated. 
 
 | 
void | 
UserManager.DummyUserDatabase.rename(String loginName,
      String newName)
No-op; always throws  
NoSuchPrincipalException. | 
void | 
UserManager.DummyUserDatabase.save(UserProfile profile)
No-op. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Acl | 
DefaultAclManager.parseAcl(WikiPage page,
        String ruleLine)
A helper method for parsing textual AccessControlLists. 
 | 
Acl | 
AclManager.parseAcl(WikiPage page,
        String ruleLine)
A helper method for parsing textual AccessControlLists. 
 | 
void | 
DefaultAclManager.setPermissions(WikiPage page,
              Acl acl)
Sets the access control list for the page and persists it by prepending
 it to the wiki page markup and saving the page. 
 | 
void | 
AclManager.setPermissions(WikiPage page,
              Acl acl)
Sets the access control list for the page and persists it. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
GroupManager.checkGroupName(WikiContext context,
              String name)
Checks if a String is blank or a restricted Group name, and if it is,
 appends an error to the WikiSession's message list. 
 | 
void | 
XMLGroupDatabase.commit()
Deprecated. 
 
there is no need to call this method because the save and
 delete methods contain their own commit logic 
 | 
void | 
JDBCGroupDatabase.commit()
Deprecated. 
 
there is no need to call this method because the save and
             delete methods contain their own commit logic 
 | 
void | 
GroupDatabase.commit()
Deprecated. 
 
there is no need to call this method because the save and
 delete methods contain their own commit logic 
 | 
void | 
XMLGroupDatabase.delete(Group group)
Looks up and deletes a  
Group from the group database. | 
void | 
JDBCGroupDatabase.delete(Group group)
Looks up and deletes a  
Group from the group database. | 
void | 
GroupDatabase.delete(Group group)
Looks up and deletes a  
Group from the group database. | 
GroupDatabase | 
GroupManager.getGroupDatabase()
Returns the current external  
GroupDatabase in use. | 
Group[] | 
XMLGroupDatabase.groups()
Returns all wiki groups that are stored in the GroupDatabase as an array
 of Group objects. 
 | 
Group[] | 
JDBCGroupDatabase.groups()
Returns all wiki groups that are stored in the GroupDatabase as an array
 of Group objects. 
 | 
Group[] | 
GroupDatabase.groups()
Returns all wiki groups that are stored in the GroupDatabase as an array
 of Group objects. 
 | 
void | 
XMLGroupDatabase.initialize(WikiEngine engine,
          Properties props)
Initializes the group database based on values from a Properties object. 
 | 
void | 
JDBCGroupDatabase.initialize(WikiEngine engine,
          Properties props)
Initializes the group database based on values from a Properties object. 
 | 
void | 
GroupManager.initialize(WikiEngine engine,
          Properties props)
Initializes the group cache by initializing the group database and
 obtaining a list of all of the groups it stores. 
 | 
void | 
GroupDatabase.initialize(WikiEngine engine,
          Properties props)
Initializes the group database based on values from a Properties object. 
 | 
Group | 
GroupManager.parseGroup(String name,
          String memberLine,
          boolean create)
 Extracts group name and members from passed parameters and populates an
 existing Group with them. 
 | 
Group | 
GroupManager.parseGroup(WikiContext context,
          boolean create)
 Extracts group name and members from the HTTP request and populates an
 existing Group with them. 
 | 
void | 
GroupManager.removeGroup(String index)
Removes a named Group from the group database. 
 | 
void | 
XMLGroupDatabase.save(Group group,
    Principal modifier)
Saves a Group to the group database. 
 | 
void | 
JDBCGroupDatabase.save(Group group,
    Principal modifier)
Saves a Group to the group database. 
 | 
void | 
GroupDatabase.save(Group group,
    Principal modifier)
Saves a Group to the group database. 
 | 
void | 
GroupManager.setGroup(WikiSession session,
        Group group)
 Saves the  
Group created by a user in a wiki session. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
UserDatabase.commit()
Deprecated. 
 
there is no need to call this method because the save, rename and
 delete methods contain their own commit logic 
 | 
void | 
AbstractUserDatabase.commit()
Deprecated. 
 
there is no need to call this method because the save, rename and
 delete methods contain their own commit logic 
 | 
void | 
XMLUserDatabase.deleteByLoginName(String loginName)
Looks up and deletes the first  
UserProfile in the user database
 that matches a profile having a given login name. | 
void | 
UserDatabase.deleteByLoginName(String loginName)
Looks up and deletes the first  
UserProfile in the user database
 that matches a profile having a given login name. | 
void | 
JDBCUserDatabase.deleteByLoginName(String loginName)
Looks up and deletes the first  
UserProfile in the user database
 that matches a profile having a given login name. | 
Principal[] | 
XMLUserDatabase.getWikiNames()
Returns all WikiNames that are stored in the UserDatabase
 as an array of WikiPrincipal objects. 
 | 
Principal[] | 
UserDatabase.getWikiNames()
Returns all WikiNames that are stored in the UserDatabase
 as an array of Principal objects. 
 | 
Principal[] | 
JDBCUserDatabase.getWikiNames()
Returns all WikiNames that are stored in the UserDatabase as an array of
 WikiPrincipal objects. 
 | 
void | 
UserDatabase.initialize(WikiEngine engine,
          Properties props)
Initializes the user database based on values from a Properties object. 
 | 
void | 
JDBCUserDatabase.initialize(WikiEngine engine,
          Properties props)  | 
abstract void | 
AbstractUserDatabase.initialize(WikiEngine engine,
          Properties props)
Initializes the user database based on values from a Properties object. 
 | 
void | 
XMLUserDatabase.rename(String loginName,
      String newName)  | 
void | 
UserDatabase.rename(String loginName,
      String newName)
Renames a  
UserProfile in the user database by changing
 the profile's login name. | 
void | 
JDBCUserDatabase.rename(String loginName,
      String newName)  | 
void | 
XMLUserDatabase.save(UserProfile profile)
Saves a  
UserProfileto the user database, overwriting the
 existing profile if it exists. | 
void | 
UserDatabase.save(UserProfile profile)
 Saves a  
UserProfileto the user database, overwriting the
 existing profile if it exists. | 
void | 
JDBCUserDatabase.save(UserProfile profile)  | 
abstract void | 
AbstractUserDatabase.save(UserProfile profile)
 Saves a  
UserProfileto the user database, overwriting the
 existing profile if it exists. | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
UserProfileTag.doWikiStartTag()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
Installer.createAdministrator()
Creates an administrative user and returns the new password. 
 | 
Copyright © 2001-2018 The Apache Software Foundation. All rights reserved.