Skip navigation links

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

E17060-04


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.
 long getCurrentLoginUserId()
           
 java.lang.String getExternalAuthUserName()
          ODI INTERNAL USAGE ONLY
 char[] getExternalAuthUserPassword()
          ODI INTERNAL USAGE ONLY
 javax.security.auth.Subject getExternalAuthUserSubject()
          ODI INTERNAL USAGE ONLY
 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

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.

close

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

After calling close the Authentication object can not be reused.


getExternalAuthUserPassword

public char[] getExternalAuthUserPassword()
ODI INTERNAL USAGE ONLY

getExternalAuthUserSubject

public javax.security.auth.Subject getExternalAuthUserSubject()
ODI INTERNAL USAGE ONLY

getExternalAuthUserName

public java.lang.String getExternalAuthUserName()
ODI INTERNAL USAGE ONLY

getCurrentLoginUserId

public long getCurrentLoginUserId()

Skip navigation links

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

E17060-04


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