| Package | Description |
|---|---|
| com.sun.enterprise.web | |
| com.sun.web.security | |
| org.apache.catalina | |
| org.apache.catalina.core | |
| org.apache.catalina.realm |
This package contains
Realm implementations for the
various supported realm technologies for authenticating users and
identifying their associated roles. |
| org.apache.catalina.startup |
| Modifier and Type | Method and Description |
|---|---|
void |
WebModule.setRealm(Realm realm) |
void |
VirtualServer.setRealm(Realm realm) |
| Modifier and Type | Class and Description |
|---|---|
class |
RealmAdapter
This is the realm adapter used to authenticate users and authorize
access to web resources.
|
| Modifier and Type | Method and Description |
|---|---|
Realm |
Container.getRealm()
Return the Realm with which this Container is associated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Container.setRealm(Realm realm)
Set the Realm with which this Container is associated.
|
| Modifier and Type | Field and Description |
|---|---|
protected Realm |
ContainerBase.realm
The Realm with which this Container is associated.
|
| Modifier and Type | Method and Description |
|---|---|
Realm |
ContainerBase.getRealm()
Return the Realm with which this Container is associated.
|
Realm |
StandardEngine.getRealm()
Provide a default in case no explicit configuration is set
|
| Modifier and Type | Method and Description |
|---|---|
void |
ContainerBase.setRealm(Realm realm)
Set the Realm with which this Container is associated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JAASRealm
Implementation of Realm that authenticates users via the Java
Authentication and Authorization Service (JAAS).
|
class |
RealmBase
Simple implementation of Realm that reads an XML file to configure
the valid users, passwords, and roles.
|
| Modifier and Type | Field and Description |
|---|---|
protected Realm |
GenericPrincipal.realm
The Realm with which this Principal is associated.
|
| Modifier and Type | Method and Description |
|---|---|
Realm |
GenericPrincipal.getRealm() |
| Constructor and Description |
|---|
GenericPrincipal(Realm realm,
String name,
char[] password)
Construct a new Principal, associated with the specified Realm, for the
specified username and password.
|
GenericPrincipal(Realm realm,
String name,
char[] password,
List<String> roles)
Construct a new Principal, associated with the specified Realm, for the
specified username and password, with the specified role names
(as Strings).
|
| Modifier and Type | Field and Description |
|---|---|
protected Realm |
Embedded.realm
The default realm to be used by all containers associated with
this compoennt.
|
| Modifier and Type | Method and Description |
|---|---|
Realm |
Embedded.getRealm()
Return the default Realm for our Containers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Embedded.setRealm(Realm realm)
Set the default Realm for our Containers.
|
| Constructor and Description |
|---|
Embedded(Logger logger,
Realm realm)
Construct a new instance of this class with specified properties.
|
Copyright © 2017. All rights reserved.