|
Oracle Reports Java API Reference 11g Release 1 (11.1.1) E10775-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Security
The interface for reports server security. All security plugin needs to implement this interface
Field Summary | |
---|---|
static java.lang.String |
TNSNAME
The 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 |
---|
static final java.lang.String TNSNAME
Method Detail |
---|
void start(java.util.Properties props) throws RWException
props
- Security system properties.
RWException
void stop()
java.lang.Object authenticate(java.lang.String username, java.lang.String password) throws RWException
username
- User name.password
- Password for the user.
RWException
java.lang.Object authenticate(java.lang.String username, java.lang.String password, java.util.Properties props) throws RWException
username
- User name.password
- Password for the user.props
- Authentication properties, e.g., tnsname.
RWException
void jobCommandCheck(java.lang.Object user, Job job) throws 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.
RWException
void webCommandCheck(java.lang.Object user, java.lang.String webCommand) throws 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.
RWException
int getRole(java.lang.Object user) throws RWException
user
- User object.
ROLE_ADMINISTRATOR = 1; ROLE_DEVELOPER = 2; ROLE_POWER_USER = 3; ROLE_BASIC_USER = 4;
RWException
java.lang.String getName()
|
Oracle Reports Java API Reference |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |