Vue d'ensemble Package Utilisation Arbre Déprécié Aide |
|
SOMMAIRE: ATTR CONSTR METH | DETAIL: ATTR CONSTR METH |
Permet d'authentifier un utilisateur pour l'application Electis
avec politique de blocage.
La politique de blocage consiste à
refuser l'accès à tout utilisateur dont le compte est bloqué. Un
compte est bloqué si un ou plusieurs utilisateurs dépasse un nombre
limite de tentatives de connexion à ce compte. Le compte reste
bloqué pour un certain temps durant lequel aucun test
d'authentification n'est réalisé.
Le déblocage s'effectue si
le temps d'attente est dépassé et qu'un utilisateur est
authentifié. Son compteur de tentatives de connexions est alors
remis à zéro.
Sommaire des Attributs |
||
private String |
dataSourceName Le nom JNDI de la datasource utilisée. |
|
protected static final String |
INFO Descriptive information about this Realm implementation. |
|
private boolean |
localDataSource Context local datasource. |
|
private static final String |
NAME Descriptive information about this Realm implementation. |
Attributs hérités de l'interface org.apache.catalina.Lifecycle |
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, DESTROY_EVENT, INIT_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT |
Sommaire des Méthodes |
||
Principal |
authenticate(String username, String credentials) Return the Principal associated with the specified username and
credentials, if there is one; otherwise return
null . |
|
protected Principal |
authenticate(Connection dbConnection, String username, String credentials) Return the Principal associated with the specified username and
credentials, if there is one; otherwise return
null . |
|
private void |
||
String |
||
String |
||
protected String |
||
protected String |
||
protected Principal |
||
boolean |
||
private Connection |
||
void |
setDataSourceName(String argDataSourceName) |
|
void |
setLocalDataSource(boolean argLocalDataSource) |
|
void |
||
void |
Méthodes héritées de la classe acube.framework.clavierVirtuel.realm.RealmBaseAcube |
authenticate |
Méthodes héritées de la classe org.apache.catalina.realm.RealmBase |
addLifecycleListener, addPropertyChangeListener, authenticate, authenticate, authenticate, authenticate, backgroundProcess, destroy, Digest, findLifecycleListeners, findSecurityConstraints, getAllRolesMode, getContainer, getController, getDigest, getDigestEncoding, getDomain, getInfo, getObjectName, getType, getValidate, hasResourcePermission, hasRole, hasUserDataPermission, init, main, postDeregister, postRegister, preDeregister, preRegister, removeLifecycleListener, removePropertyChangeListener, setAllRolesMode, setContainer, setController, setDigest, setDigestEncoding, setValidate, start, stop |
Méthodes héritées de la classe java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Méthodes héritées de l'interface org.apache.catalina.Lifecycle |
addLifecycleListener, findLifecycleListeners, removeLifecycleListener, start, stop |
Méthodes héritées de l'interface org.apache.catalina.Realm |
addPropertyChangeListener, authenticate, authenticate, authenticate, authenticate, backgroundProcess, findSecurityConstraints, getContainer, getInfo, hasResourcePermission, hasRole, hasUserDataPermission, removePropertyChangeListener, setContainer |
Méthodes héritées de l'interface javax.management.MBeanRegistration |
postDeregister, postRegister, preDeregister, preRegister |
null
.
If there are any errors with the JDBC connection, executing the
query or anything we return null (don't authenticate). This
event is also logged, and the connection will be closed so that
a subsequent request will automatically re-open it.null
.Vue d'ensemble Package Utilisation Arbre Déprécié Aide |
|
SOMMAIRE: ATTR CONSTR METH | DETAIL: ATTR CONSTR METH |
Version 3.1.0 du 06/11/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 |