Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

oracle.odi.core.security
Class Authentication

java.lang.Object
  extended by oracle.odi.core.security.Authentication

public abstract class Authentication
extends java.lang.Object

The class Authentication represents an authenticated user.

To create Authentication use one of the createAuthentication methods on SecurityManager class.

Since:
11.1.1.3.0
See Also:
SecurityManager.createAuthentication(String, char[]), SecurityManager.setCurrentThreadAuthentication(Authentication), SecurityManager.isAuthorized(Permission)

Method Summary
 void close()
          This method will close the resources associated to this Authentication.
 java.lang.String getUserName()
          Return the username for this authentication.
 boolean isSupervisor()
          This method returns true if the SUPERVISOR Permission is granted to the user associated with this Authentication, otherwise returns false.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

close

public void close()
This method will close the resources associated to this Authentication.

After calling close the Authentication object can not be reused.


getUserName

public java.lang.String getUserName()
Return the username for this authentication.

Returns:
a String representing the user name for this authentication.

isSupervisor

public boolean isSupervisor()
This method returns true if the SUPERVISOR Permission is granted to the user associated with this Authentication, otherwise returns false.

Returns:
true if current user is supervisor, false otherwise.

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

Copyright © 2010, Oracle and/or its affiliates. All rights reserved.