Framework Serveur J2EE ACube V2.7.4
CLASSE PRECEDANTE CLASSE SUIVANTE
SOMMAIRE: ATTR CONSTR METH DETAIL: ATTR CONSTR METH

acube.framework.clavierVirtuel.realm
Classe UserDatabaseRealm
java.lang.Object
  org.apache.catalina.realm.RealmBase
      acube.framework.clavierVirtuel.realm.RealmBaseAcube
          acube.framework.clavierVirtuel.realm.UserDatabaseRealm

public class UserDatabaseRealm
hérite de RealmBaseAcube

Implementation of org.apache.catalina.Realm that is based on an implementation of UserDatabase made available through the global JNDI resources configured for this instance of Catalina. Set the resourceName parameter to the global JNDI resources NAME for the configured instance of UserDatabase that we should consult.

Author:
Craig R. McClanahan
Since:
4.1
Version:
$Revision: 1.1 $ $Date: 2007-03-26 08:14:20 $

Sommaire des Attributs
private UserDatabase
database
The UserDatabase we will use to authenticate users and identify associated roles.
private final String
info
Descriptive information about this Realm implementation.
protected static final String
NAME
Descriptive information about this Realm implementation.
private String
resourceName
The global JNDI NAME of the UserDatabase resource we will be utilizing.
private static StringManager
sm
The string manager for this package.
Sommaire des Constructeurs
Sommaire des Méthodes
String
getInfo()
{@inheritDoc}
protected String
getName()
{@inheritDoc}
protected String
getPassword(String username)
{@inheritDoc}
protected Principal
getPrincipal(String username)
{@inheritDoc}
String
getResourceName()
Return the global JNDI NAME of the UserDatabase resource we will be using.
boolean
hasRole(Principal principal, String role)
{@inheritDoc}
void
setResourceName(String resourceName)
Set the global JNDI NAME of the UserDatabase resource we will be using.
synchronized void
start()
{@inheritDoc}
synchronized void
stop()
{@inheritDoc}
Méthodes héritées de la classe acube.framework.clavierVirtuel.realm.RealmBaseAcube
authenticate
Méthodes héritées de la classe java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Détail des Attributs
NAME
protected static final String NAME
Descriptive information about this Realm implementation.

sm
private static StringManager sm
The string manager for this package.

database
private UserDatabase database
The UserDatabase we will use to authenticate users and identify associated roles.

info
private final String info
Descriptive information about this Realm implementation.

resourceName
private String resourceName
The global JNDI NAME of the UserDatabase resource we will be utilizing.
Détail des Constructeurs
UserDatabaseRealm
public UserDatabaseRealm()
Détail des méthodes
getInfo
public String getInfo()
{@inheritDoc}

getResourceName
public String getResourceName()
Return the global JNDI NAME of the UserDatabase resource we will be using.
Retours:
the global JNDI NAME of the UserDatabase

setResourceName
public void setResourceName(String resourceName)
Set the global JNDI NAME of the UserDatabase resource we will be using.
Paramètres:
resourceName - The new global JNDI NAME

hasRole
public boolean hasRole(Principal principal,
                       String role)
{@inheritDoc}

getName
protected String getName()
{@inheritDoc}

getPassword
protected String getPassword(String username)
{@inheritDoc}

getPrincipal
protected Principal getPrincipal(String username)
{@inheritDoc}

start
public synchronized void start()
                        throws LifecycleException
{@inheritDoc}
Exceptions:
LifecycleException

stop
public synchronized void stop()
                       throws LifecycleException
{@inheritDoc}
Exceptions:
LifecycleException

Framework Serveur J2EE ACube V2.7.4
CLASSE PRECEDANTE CLASSE SUIVANTE
SOMMAIRE: ATTR CONSTR METH DETAIL: ATTR CONSTR METH

Version 2.7.4 du 10/07/2009 / Etat : Validé
Cette création est mise à disposition selon le Contrat Paternité - Pas d'Utilisation Commerciale - Partage des Conditions Initiales à l'Identique disponible en ligne http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ ou par courrier postal à Creative Commons, 559 Nathan Abbott Way, Stanford,California 94305, USA.
Documentation generated by DocFlex