クラス org.objectweb.cjdbc.controller.authentication.VirtualDatabaseUser

org.objectweb.cjdbc.controller.authentication.VirtualDatabaseUserに対する継承グラフ

Inheritance graph
[凡例]
org.objectweb.cjdbc.controller.authentication.VirtualDatabaseUserのコラボレーション図

Collaboration graph
[凡例]
すべてのメンバ一覧

説明

A VirtualDatabaseUser is a login/password combination to represent a virtual database user.

作者:
Emmanuel Cecchet

Mathieu Peltier

バージョン:
1.0

VirtualDatabaseUser.java37 行で定義されています。

Public メソッド

 VirtualDatabaseUser (String login, String password)
String getXml ()
String getLogin ()
String getName ()
String getPassword ()
boolean matches (String login, String password)
boolean equals (Object other)

Protected 変数

String login
String password


コンストラクタとデストラクタ

org.objectweb.cjdbc.controller.authentication.VirtualDatabaseUser.VirtualDatabaseUser String  login,
String  password
 

Creates a new VirtualDatabaseUser instance. The caller must ensure that the parameters are not null.

引数:
login the user name.
password the password.

VirtualDatabaseUser.java47 行で定義されています。

00048   {
00049     super(login, password);
00050   }


メソッド

boolean org.objectweb.cjdbc.controller.authentication.AbstractDatabaseUser.equals Object  other  )  [inherited]
 

Two AbstractDatabaseUser are equals if both objects have same login & password.

引数:
other the object to compare with.
戻り値:
true if both objects have same login & password.

org.objectweb.cjdbc.controller.authentication.DatabaseBackendUserで再定義されています。

AbstractDatabaseUser.java108 行で定義されています。

参照先 org.objectweb.cjdbc.controller.authentication.AbstractDatabaseUser.login, org.objectweb.cjdbc.controller.authentication.AbstractDatabaseUser.matches(), と org.objectweb.cjdbc.controller.authentication.AbstractDatabaseUser.password.

00109   {
00110     if ((other == null) || !(other instanceof AbstractDatabaseUser))
00111       return false;
00112 
00113     AbstractDatabaseUser user = (AbstractDatabaseUser) other;
00114     return matches(user.login, user.password);
00115   }

String org.objectweb.cjdbc.controller.authentication.AbstractDatabaseUser.getLogin  )  [inherited]
 

Gets the login name.

戻り値:
the login name.

AbstractDatabaseUser.java63 行で定義されています。

参照元 org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabase.addBackend(), org.objectweb.cjdbc.controller.authentication.AuthenticationManager.addRealUser(), org.objectweb.cjdbc.controller.authentication.AbstractDatabaseUser.getName(), org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMetaData.getTablePrivileges(), org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseWorkerThread.getUser(), org.objectweb.cjdbc.controller.authentication.VirtualDatabaseUser.getXml(), と org.objectweb.cjdbc.controller.authentication.AuthenticationManager.isValidVirtualLogin().

00064   {
00065     return login;
00066   }

String org.objectweb.cjdbc.controller.authentication.AbstractDatabaseUser.getName  )  [inherited]
 

Gets the login name.

戻り値:
the login name.

AbstractDatabaseUser.java73 行で定義されています。

参照先 org.objectweb.cjdbc.controller.authentication.AbstractDatabaseUser.getLogin().

参照元 org.objectweb.cjdbc.controller.jmx.AuthenticatingMBeanServer.invoke().

00074   {
00075     return getLogin();
00076   }

String org.objectweb.cjdbc.controller.authentication.AbstractDatabaseUser.getPassword  )  [inherited]
 

Gets the password.

戻り値:
the password.

AbstractDatabaseUser.java83 行で定義されています。

参照元 org.objectweb.cjdbc.controller.authentication.VirtualDatabaseUser.getXml(), と org.objectweb.cjdbc.controller.jmx.AuthenticatingMBeanServer.invoke().

00084   {
00085     return password;
00086   }

String org.objectweb.cjdbc.controller.authentication.VirtualDatabaseUser.getXml  )  [virtual]
 

参照:
org.objectweb.cjdbc.common.xml.XmlComponent.getXml()

org.objectweb.cjdbc.controller.authentication.AbstractDatabaseUserに実装されています.

VirtualDatabaseUser.java55 行で定義されています。

参照先 org.objectweb.cjdbc.controller.authentication.AbstractDatabaseUser.getLogin(), と org.objectweb.cjdbc.controller.authentication.AbstractDatabaseUser.getPassword().

参照元 org.objectweb.cjdbc.controller.authentication.AuthenticationManager.getXml().

00056   {
00057     return "<"
00058       + DatabasesXmlTags.ELT_VirtualLogin
00059       + " "
00060       + DatabasesXmlTags.ATT_vLogin
00061       + "=\""
00062       + getLogin()
00063       + "\" "
00064       + DatabasesXmlTags.ATT_vPassword
00065       + "=\""
00066       + getPassword()
00067       + "\"/>";
00068   }

boolean org.objectweb.cjdbc.controller.authentication.AbstractDatabaseUser.matches String  login,
String  password
[inherited]
 

Tests if the login and password provided matches the login/password of this object.

引数:
login a user name.
password a password.
戻り値:
true if it matches this object's login/password.

AbstractDatabaseUser.java96 行で定義されています。

参照元 org.objectweb.cjdbc.controller.authentication.AbstractDatabaseUser.equals().

00097   {
00098     return (this.login.equals(login) && this.password.equals(password));
00099   }


変数

String org.objectweb.cjdbc.controller.authentication.AbstractDatabaseUser.login [protected, inherited]
 

Login name.

AbstractDatabaseUser.java40 行で定義されています。

参照元 org.objectweb.cjdbc.controller.authentication.DatabaseBackendUser.equals(), と org.objectweb.cjdbc.controller.authentication.AbstractDatabaseUser.equals().

String org.objectweb.cjdbc.controller.authentication.AbstractDatabaseUser.password [protected, inherited]
 

Password.

AbstractDatabaseUser.java43 行で定義されています。

参照元 org.objectweb.cjdbc.controller.authentication.DatabaseBackendUser.equals(), と org.objectweb.cjdbc.controller.authentication.AbstractDatabaseUser.equals().


このクラスの説明は次のファイルから生成されました:
CJDBCversion1.0rcfに対してWed Jun 23 16:03:40 2004に生成されました。 doxygen 1.3.6