|
Oracle Reports Java API Reference 10g (9.0.4) B12019-01 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
| Field Summary | |
static java.lang.String |
TNSNAMEThe authentication property name for the Oracle Database tns name. |
| Method Summary | |
java.lang.Object |
authenticate(java.lang.String username, java.lang.String password)Authenticates a user against the default security system. |
java.lang.Object |
authenticate(java.lang.String username, java.lang.String password, java.util.Properties props)Authenticates a user against a target security system. |
java.lang.String |
getName()Returns the name of the security system. |
int |
getRole(java.lang.Object user)Returns the role for a given user. |
void |
jobCommandCheck(java.lang.Object user, Job job)Performs a security check for the job at runtime or at a scheduled time, depending on which queue the job is in. |
void |
start(java.util.Properties props)Starts the security system. |
void |
stop()Stops the security system. |
void |
webCommandCheck(java.lang.Object user, java.lang.String webCommand)Performs a security check for the Web command, such as showmap, showenv, etc. |
| Field Detail |
public static final java.lang.String TNSNAME
| Method Detail |
public void start(java.util.Properties props)
throws oracle.reports.RWException
props - Security system properties.public void stop()
public java.lang.Object authenticate(java.lang.String username,
java.lang.String password)
throws oracle.reports.RWException
username - User name.password - Password for the user.
public java.lang.Object authenticate(java.lang.String username,
java.lang.String password,
java.util.Properties props)
throws oracle.reports.RWException
username - User name.password - Password for the user.props - Authentication properties, e.g., tnsname.
public void jobCommandCheck(java.lang.Object user,
Job job)
throws oracle.reports.RWException
user - User who wants to run the Web command.job - Job to be checked.
If the security check fails, it generates RWException, containing the reason for the failure in the exception.
public void webCommandCheck(java.lang.Object user,
java.lang.String webCommand)
throws oracle.reports.RWException
user - User who wants to run the Web command.webCommand - Web command.
If the security check fails, it generates RWException, containing the reason for the failure in the exception.
public int getRole(java.lang.Object user)
throws oracle.reports.RWException
user - User object.ROLE_ADMINISTRATOR = 1; ROLE_DEVELOPER = 2; ROLE_POWER_USER = 3; ROLE_BASIC_USER = 4;
public java.lang.String getName()
|
Oracle Reports Java API Reference | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||