| Home >> All >> org >> apache >> tomcat >> [ security Javadoc ] |
| | org.apache.tomcat.security.file.* (6) |
org.apache.tomcat.security: Javadoc index of package org.apache.tomcat.security.
Package Samples:
org.apache.tomcat.security.file
Classes:
RealmConnector: Generalized interface for a connector between a web application's Context object and the security domain (realm) used to authenticate users and identify their associated roles for access control purposes. A specific implementation of this interface will be selected when the Context is configured (usually by passing the name of the desired implementation class as a configuration parameter). The Context should obey the following rules when dealing with a RealmConnector: A single RealmConnector object should be associated with one, and only one, Context object. When the Context itself is being initialized, ...
FileRealmTool: Command-line tool to manipulate database files containing FileRealmDatabase information. Usage: java org.apache.tomcat.security.file.FileRealmTool {path} {commands} where {path} is the pathname to a local file containing the database information, and {commands} is a series of zero or more commands (each of which including command parameters) from the following list: -addGroup {group} - Add a new group with the specified name -addMember {group} {user} - Make {user} a member of {group} -addRole {group/user} {role} - Add an explicit assignment of {role} to the specified {group} or {user}. -addUser ...
FileRealmUser: In-memory representation of an individual user, to which specific roles may be assigned directly, or indirectly by virtue of membership in one or more groups. This class exhibits the following JavaBeans properties: groups - The set of groups this user is a member of. name - Username that uniquely (within a particular security domain) identifies this user. password - The password used to authenticate this user's identity. Internally, this value is stored in an encrypted fashion, and is not available in clear text. roles - The set of role names explicitly assigned to this user.
SecurityInterceptor: Implementation of org.apache.tomcat.core.ServiceInterceptor that implements the security functionality described in Section 11 of the Java Servlet Specification Version 2.2. XXX - Unimplemented Features: Role mapping for per-servlet <security-role-ref> elements in the deployment descriptor. HTTP Digest Authentication support. HTTPS Client Authentication support. Form Based Authentication support.
FileRealmGroup: In-memory representation of a defined group of users, which may be granted specific roles indirectly by virtue of their membership in a group. This class exhibits the following JavaBeans properties: name - Username that uniquely (within a particular security domain) identifies this user. roles - The set of role names explicitly assigned to this user. users - The set of users who are members of this group.
FileRealmDatabase: In-memory cache of the set of users, groups, and their associated roles, stored in an XML-formatted file that conforms to DTD found in the tomcat-users.dtd file in this directory.
FileRealmConnector: Implementation of RealmConnector that uses a FileRealmDatabase object as the cache to an underlying XML-stored database of users and their associated roles.
DefaultRealmConnector: Default implementation of RealmConnector , for use when no container-managed authentication or access control are desired.
Constants: Manifest constants for the FileRealmConnector package.
| Home | Contact Us | Privacy Policy | Terms of Service |