|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.informatica.security.auth.AuthenticationDatabase
info.informatica.security.auth.SQLAuthenticationDatabase
public final class SQLAuthenticationDatabase
Encapsulación de base de datos de usuarios
| Constructor Summary | |
|---|---|
SQLAuthenticationDatabase(Authenticator auth,
CryptFactory cryptfact,
AuthenticationMetaData authmd,
RoleMetaData rolemd)
Constructor con arg Properties |
|
| Method Summary | |
|---|---|
void |
add(UserInfo user)
|
void |
addRole(Role role)
Add a role |
void |
addRoleToUser(Role role,
LoginPrincipal user)
Adds user to a group, creating it if does not exist. |
void |
close()
Closes the database. |
void |
delete(LoginPrincipal name)
|
Set<Role> |
getRoles(LoginPrincipal name)
Gets a set of roles |
String |
getUserAttribute(LoginPrincipal name,
String attribname)
|
UserInfo |
getUserInfo(LoginPrincipal name)
|
void |
open(Connection con)
|
void |
update(UserInfo user)
|
| Methods inherited from class info.informatica.security.auth.AuthenticationDatabase |
|---|
getAuthenticator, getCryptFactory, getRoleDatabase, getSubject, setRoleDatabase |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLAuthenticationDatabase(Authenticator auth,
CryptFactory cryptfact,
AuthenticationMetaData authmd,
RoleMetaData rolemd)
throws AuthenticationDatabaseException
AuthenticationDatabaseException| Method Detail |
|---|
public void open(Connection con)
throws SQLException
SQLExceptionpublic void addRole(Role role)
RoleDatabase
addRole in interface RoleDatabase
public void addRoleToUser(Role role,
LoginPrincipal user)
throws AuthenticationDatabaseException
RoleDatabase
addRoleToUser in interface RoleDatabaseAuthenticationDatabaseException
public Set<Role> getRoles(LoginPrincipal name)
throws AuthenticationDatabaseException
RoleDatabase
getRoles in interface RoleDatabaseAuthenticationDatabaseException
public void add(UserInfo user)
throws AuthenticationDatabaseException
add in class AuthenticationDatabaseAuthenticationDatabaseException
public void update(UserInfo user)
throws AuthenticationDatabaseException
update in class AuthenticationDatabaseAuthenticationDatabaseException
public void delete(LoginPrincipal name)
throws AuthenticationDatabaseException
delete in class AuthenticationDatabaseAuthenticationDatabaseException
public UserInfo getUserInfo(LoginPrincipal name)
throws AuthenticationDatabaseException
getUserInfo in class AuthenticationDatabaseAuthenticationDatabaseException
public String getUserAttribute(LoginPrincipal name,
String attribname)
throws AuthenticationDatabaseException
AuthenticationDatabaseException
public void close()
throws SQLException
SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||