|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IOdiUserCreationService
This service is used to create new ODI user with SDK
Typical usage:
final String userName = ...
final char[] userPassword = ...
final boolean isSupervisor = ...
final Date expirationDate = ...
OdiUser user = (OdiUser)new TransactionTemplate(odiInstance.getTransactionManager()).execute(new ITransactionCallback()
{
public Object doInTransaction(ITransactionStatus pStatus)
{
IOdiUserCreationService service = new OdiUserCreationServiceServiceImpl(getOdiInstance());
OdiUser newUser = service.createOdiUser(userName, userPassword, isSupervisor, expirationDate);
return newUser;
}
});
| Method Summary | |
|---|---|
OdiUser |
createOdiUser(java.lang.String userName, char[] password, boolean isSupervisor, java.util.Date expirationDate)Create and persist to database new SDK user. |
| Method Detail |
|---|
OdiUser createOdiUser(java.lang.String userName,
char[] password,
boolean isSupervisor,
java.util.Date expirationDate)
userName - couldn't be null or empty stringpassword - couldn't be null or empty string. Also should meet ODI Security PolicyisSupervisor - defines if new user is supervisorexpiracyDate - user expiration date. Could be null.PermissionDeniedException - if no current authentication found or if current authentication hasn't SUPERVISOR privilege.PasswordPolicyNotMatchedException - if given password doesn't match password policy.
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||