Uses of Class
org.apache.wiki.auth.WikiSecurityException

Packages that use WikiSecurityException
Package
Description
Authentication, Authorization and the third A thing.
Access Control List implementation.
Authorizer implementation.
Java classes for management of the JSP user interface.
  • Uses of WikiSecurityException in org.apache.wiki.auth

    Modifier and Type
    Class
    Description
    final class 
    Thrown in some error situations where a WikiPrincipal object does not exist.
    Modifier and Type
    Method
    Description
    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.
    DefaultAuthenticationManager.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.
    AuthorizationManager.getAuthorizer()
    Returns the current external Authorizer in use.
    DefaultAuthorizationManager.getAuthorizer()
    Returns the current external Authorizer in use.
    void
    Authorizer.initialize(org.apache.wiki.api.core.Engine engine, Properties props)
    Initializes the authorizer.
    DefaultUserManager.listWikiNames()
    A helper method for returning all of the known WikiNames in this system.
    UserManager.listWikiNames()
    A helper method for returning all of the known WikiNames in this system.
    boolean
    AuthenticationManager.login(jakarta.servlet.http.HttpServletRequest request)
    Logs in the user by attempting to populate a Session Subject from a web servlet request by examining the request for the presence of container credentials and user cookies.
    boolean
    AuthenticationManager.login(org.apache.wiki.api.core.Session session, jakarta.servlet.http.HttpServletRequest request, String username, String password)
    Attempts to perform a Session login for the given username/password combination using JSPWiki's custom authentication mode.
    boolean
    DefaultAuthenticationManager.login(jakarta.servlet.http.HttpServletRequest request)
    Logs in the user by attempting to populate a Session Subject from a web servlet request by examining the request for the presence of container credentials and user cookies.
    boolean
    DefaultAuthenticationManager.login(org.apache.wiki.api.core.Session session, jakarta.servlet.http.HttpServletRequest request, String username, String password)
    Attempts to perform a Session login for the given username/password combination using JSPWiki's custom authentication mode.
  • Uses of WikiSecurityException in org.apache.wiki.auth.acl

    Modifier and Type
    Method
    Description
    org.apache.wiki.api.core.Acl
    AclManager.parseAcl(org.apache.wiki.api.core.Page page, String ruleLine)
    A helper method for parsing textual AccessControlLists.
    org.apache.wiki.api.core.Acl
    DefaultAclManager.parseAcl(org.apache.wiki.api.core.Page page, String ruleLine)
    A helper method for parsing textual AccessControlLists.
    void
    AclManager.setPermissions(org.apache.wiki.api.core.Page page, org.apache.wiki.api.core.Acl acl)
    Sets the access control list for the page and persists it.
    void
    DefaultAclManager.setPermissions(org.apache.wiki.api.core.Page page, org.apache.wiki.api.core.Acl acl)
    Sets the access control list for the page and persists it.
  • Uses of WikiSecurityException in org.apache.wiki.auth.authorize

    Modifier and Type
    Method
    Description
    void
    DefaultGroupManager.checkGroupName(org.apache.wiki.api.core.Context context, String name)
    Checks if a String is blank or a restricted Group name, and if it is, appends an error to the Session's message list.
    void
    GroupManager.checkGroupName(org.apache.wiki.api.core.Context context, String name)
    Checks if a String is blank or a restricted Group name, and if it is, appends an error to the Session's message list.
    void
    GroupDatabase.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
    XMLGroupDatabase.delete(Group group)
    Looks up and deletes a Group from the group database.
    DefaultGroupManager.getGroupDatabase()
    Returns the current external GroupDatabase in use.
    GroupManager.getGroupDatabase()
    Returns the current external GroupDatabase in use.
    GroupDatabase.groups()
    Returns all wiki groups that are stored in the GroupDatabase as an array of Group objects.
    JDBCGroupDatabase.groups()
    Returns all wiki groups that are stored in the GroupDatabase as an array of Group objects.
    XMLGroupDatabase.groups()
    Returns all wiki groups that are stored in the GroupDatabase as an array of Group objects.
    void
    DefaultGroupManager.initialize(org.apache.wiki.api.core.Engine engine, Properties props)
    Initializes the authorizer.
    void
    GroupDatabase.initialize(org.apache.wiki.api.core.Engine engine, Properties props)
    Initializes the group database based on values from a Properties object.
    void
    JDBCGroupDatabase.initialize(org.apache.wiki.api.core.Engine engine, Properties props)
    Initializes the group database based on values from a Properties object.
    void
    XMLGroupDatabase.initialize(org.apache.wiki.api.core.Engine engine, Properties props)
    Initializes the group database based on values from a Properties object.
    DefaultGroupManager.parseGroup(String name, String memberLine, boolean create)
    Extracts group name and members from passed parameters and populates an existing Group with them.
    GroupManager.parseGroup(String name, String memberLine, boolean create)
    Extracts group name and members from passed parameters and populates an existing Group with them.
    default Group
    GroupManager.parseGroup(org.apache.wiki.api.core.Context context, boolean create)
    Extracts group name and members from the HTTP request and populates an existing Group with them.
    void
    DefaultGroupManager.removeGroup(String index)
    Removes a named Group from the group database.
    void
    GroupManager.removeGroup(String index)
    Removes a named Group from the group database.
    void
    GroupDatabase.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
    XMLGroupDatabase.save(Group group, Principal modifier)
    Saves a Group to the group database.
    void
    DefaultGroupManager.setGroup(org.apache.wiki.api.core.Session session, Group group)
    Saves the Group created by a user in a wiki session.
    void
    GroupManager.setGroup(org.apache.wiki.api.core.Session session, Group group)
    Saves the Group created by a user in a wiki session.
  • Uses of WikiSecurityException in org.apache.wiki.auth.user

    Modifier and Type
    Method
    Description
    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.
    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
    XMLUserDatabase.deleteByLoginName(String loginName)
    Looks up and deletes the first UserProfile in the user database that matches a profile having a given login name.
    JDBCUserDatabase.getWikiNames()
    Returns all WikiNames that are stored in the UserDatabase as an array of WikiPrincipal objects.
    UserDatabase.getWikiNames()
    Returns all WikiNames that are stored in the UserDatabase as an array of Principal objects.
    XMLUserDatabase.getWikiNames()
    Returns all WikiNames that are stored in the UserDatabase as an array of Principal objects.
    void
    AbstractUserDatabase.initialize(org.apache.wiki.api.core.Engine engine, Properties props)
    Initializes the user database based on values from a Properties object.
    void
    JDBCUserDatabase.initialize(org.apache.wiki.api.core.Engine engine, Properties props)
     
    void
    UserDatabase.initialize(org.apache.wiki.api.core.Engine engine, Properties props)
    Initializes the user database based on values from a Properties object.
    void
    JDBCUserDatabase.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
    XMLUserDatabase.rename(String loginName, String newName)
    Renames a UserProfile in the user database by changing the profile's login name.
    abstract void
    AbstractUserDatabase.save(UserProfile profile)
    Saves a UserProfileto the user database, overwriting the existing profile if it exists.
    void
    JDBCUserDatabase.save(UserProfile profile)
     
    void
    UserDatabase.save(UserProfile profile)
    Saves a UserProfileto the user database, overwriting the existing profile if it exists.
    void
    XMLUserDatabase.save(UserProfile profile)
    Saves a UserProfileto the user database, overwriting the existing profile if it exists.
  • Uses of WikiSecurityException in org.apache.wiki.ui

    Modifier and Type
    Method
    Description
    Creates an administrative user and returns the new password.