Uses of Class
org.apache.wiki.auth.WikiSecurityException
| 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.ui |
Java classes for management of the JSP user interface.
|
-
Uses of WikiSecurityException in org.apache.wiki.auth
Subclasses of WikiSecurityException in org.apache.wiki.auth Modifier and Type Class Description classNoSuchPrincipalExceptionThrown in some error situations where a WikiPrincipal object does not exist.Methods in org.apache.wiki.auth that throw WikiSecurityException Modifier and Type Method Description Set<Principal>AuthenticationManager. doJAASLogin(Class<? extends LoginModule> clazz, CallbackHandler handler, Map<String,String> options)Instantiates and executes a single JAASLoginModule, and returns a Set of Principals that results from a successful login.Set<Principal>DefaultAuthenticationManager. doJAASLogin(Class<? extends LoginModule> clazz, CallbackHandler handler, Map<String,String> options)Instantiates and executes a single JAASLoginModule, and returns a Set of Principals that results from a successful login.AuthorizerAuthorizationManager. getAuthorizer()Returns the current externalAuthorizerin use.AuthorizerDefaultAuthorizationManager. getAuthorizer()Returns the current externalAuthorizerin use.voidAuthorizer. initialize(Engine engine, Properties props)Initializes the authorizer.Principal[]DefaultUserManager. listWikiNames()A helper method for returning all of the known WikiNames in this system.Principal[]UserManager. listWikiNames()A helper method for returning all of the known WikiNames in this system.booleanAuthenticationManager. login(javax.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.booleanAuthenticationManager. login(Session session, javax.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.booleanDefaultAuthenticationManager. login(javax.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.booleanDefaultAuthenticationManager. login(Session session, javax.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
Methods in org.apache.wiki.auth.acl that throw WikiSecurityException Modifier and Type Method Description AclAclManager. parseAcl(Page page, String ruleLine)A helper method for parsing textual AccessControlLists.AclDefaultAclManager. parseAcl(Page page, String ruleLine)A helper method for parsing textual AccessControlLists.voidAclManager. setPermissions(Page page, Acl acl)Sets the access control list for the page and persists it.voidDefaultAclManager. setPermissions(Page page, Acl acl)Sets the access control list for the page and persists it. -
Uses of WikiSecurityException in org.apache.wiki.auth.authorize
Methods in org.apache.wiki.auth.authorize that throw WikiSecurityException Modifier and Type Method Description voidDefaultGroupManager. checkGroupName(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.voidGroupManager. checkGroupName(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.voidGroupDatabase. delete(Group group)Looks up and deletes aGroupfrom the group database.voidJDBCGroupDatabase. delete(Group group)Looks up and deletes aGroupfrom the group database.voidXMLGroupDatabase. delete(Group group)Looks up and deletes aGroupfrom the group database.GroupDatabaseDefaultGroupManager. getGroupDatabase()Returns the current externalGroupDatabasein use.GroupDatabaseGroupManager. getGroupDatabase()Returns the current externalGroupDatabasein use.Group[]GroupDatabase. 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[]XMLGroupDatabase. groups()Returns all wiki groups that are stored in the GroupDatabase as an array of Group objects.voidDefaultGroupManager. initialize(Engine engine, Properties props)Initializes this Engine component.voidGroupDatabase. initialize(Engine engine, Properties props)Initializes the group database based on values from a Properties object.voidJDBCGroupDatabase. initialize(Engine engine, Properties props)Initializes the group database based on values from a Properties object.voidXMLGroupDatabase. initialize(Engine engine, Properties props)Initializes the group database based on values from a Properties object.GroupDefaultGroupManager. parseGroup(String name, String memberLine, boolean create)Extracts group name and members from passed parameters and populates an existing Group with them.GroupGroupManager. parseGroup(String name, String memberLine, boolean create)Extracts group name and members from passed parameters and populates an existing Group with them.default GroupGroupManager. parseGroup(Context context, boolean create)Extracts group name and members from the HTTP request and populates an existing Group with them.voidDefaultGroupManager. removeGroup(String index)Removes a named Group from the group database.voidGroupManager. removeGroup(String index)Removes a named Group from the group database.voidGroupDatabase. save(Group group, Principal modifier)Saves a Group to the group database.voidJDBCGroupDatabase. save(Group group, Principal modifier)Saves a Group to the group database.voidXMLGroupDatabase. save(Group group, Principal modifier)Saves a Group to the group database.voidDefaultGroupManager. setGroup(Session session, Group group)Saves theGroupcreated by a user in a wiki session.voidGroupManager. setGroup(Session session, Group group)Saves theGroupcreated by a user in a wiki session. -
Uses of WikiSecurityException in org.apache.wiki.auth.user
Methods in org.apache.wiki.auth.user that throw WikiSecurityException Modifier and Type Method Description voidJDBCUserDatabase. deleteByLoginName(String loginName)Looks up and deletes the firstUserProfilein the user database that matches a profile having a given login name.voidUserDatabase. deleteByLoginName(String loginName)Looks up and deletes the firstUserProfilein the user database that matches a profile having a given login name.voidXMLUserDatabase. deleteByLoginName(String loginName)Looks up and deletes the firstUserProfilein the user database that matches a profile having a given login name.Principal[]JDBCUserDatabase. 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[]XMLUserDatabase. getWikiNames()Returns all WikiNames that are stored in the UserDatabase as an array of Principal objects.abstract voidAbstractUserDatabase. initialize(Engine engine, Properties props)Initializes the user database based on values from a Properties object.voidJDBCUserDatabase. initialize(Engine engine, Properties props)voidUserDatabase. initialize(Engine engine, Properties props)Initializes the user database based on values from a Properties object.voidJDBCUserDatabase. rename(String loginName, String newName)voidUserDatabase. rename(String loginName, String newName)Renames aUserProfilein the user database by changing the profile's login name.voidXMLUserDatabase. rename(String loginName, String newName)Renames aUserProfilein the user database by changing the profile's login name.abstract voidAbstractUserDatabase. save(UserProfile profile)Saves aUserProfileto the user database, overwriting the existing profile if it exists.voidJDBCUserDatabase. save(UserProfile profile)voidUserDatabase. save(UserProfile profile)Saves aUserProfileto the user database, overwriting the existing profile if it exists.voidXMLUserDatabase. save(UserProfile profile)Saves aUserProfileto the user database, overwriting the existing profile if it exists. -
Uses of WikiSecurityException in org.apache.wiki.ui
Methods in org.apache.wiki.ui that throw WikiSecurityException Modifier and Type Method Description StringInstaller. createAdministrator()Creates an administrative user and returns the new password.