Skip navigation links
oracle.iam.platform
Class OIMClient
java.lang.Object
oracle.iam.platform.OIMClient
-
public class OIMClient
- extends java.lang.Object
Method Summary |
java.lang.Object |
getService(java.lang.Class serviceClass)
Returns the service corresponding to the class |
java.util.List |
login(java.lang.String username, char[] password)
Logs in to OIM on basis of parameters and environment supplied. |
java.util.List |
login(java.lang.String username, char[] password, java.util.Hashtable configEnv)
|
java.util.List |
login(java.lang.String username, java.lang.String password)
Deprecated. |
java.util.List |
login(java.lang.String username, java.lang.String password, java.util.Hashtable configEnv)
Deprecated. |
void |
logout()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WLS_CONTEXT_FACTORY
public static final java.lang.String WLS_CONTEXT_FACTORY
-
- See Also:
- Constant Field Values
JBOSS_CONTEXT_FACTORY
public static final java.lang.String JBOSS_CONTEXT_FACTORY
-
- See Also:
- Constant Field Values
WAS_CONTEXT_FACTORY
public static final java.lang.String WAS_CONTEXT_FACTORY
-
- See Also:
- Constant Field Values
JAVA_NAMING_PROVIDER_URL
public static final java.lang.String JAVA_NAMING_PROVIDER_URL
-
- See Also:
- Constant Field Values
JAVA_NAMING_FACTORY_INITIAL
public static final java.lang.String JAVA_NAMING_FACTORY_INITIAL
-
- See Also:
- Constant Field Values
OIMClient
public OIMClient(java.util.Hashtable env)
- Creates an instance of
OIMClient
to communicate with the OIM app
- Parameters:
env
- environment used to connect to the OIM application
OIMClient
public OIMClient()
login
@Deprecated
public java.util.List login(java.lang.String username,
java.lang.String password)
throws javax.security.auth.login.LoginException
- Deprecated.
- This method has been deprecated as it requires Password in String format, which causes a security issue.
-
- Throws:
javax.security.auth.login.LoginException
login
public java.util.List login(java.lang.String username,
char[] password)
throws javax.security.auth.login.LoginException
- Logs in to OIM on basis of parameters and environment supplied. In case any environment details are not supplied, LoginException is thrown asking for additional parameters.
-
- Parameters:
username
-
password
-
- Returns:
- List of Roles of which, user is member
- Throws:
javax.security.auth.login.LoginException
login
public java.util.List login(java.lang.String username,
char[] password,
java.util.Hashtable configEnv)
throws javax.security.auth.login.LoginException
-
- Throws:
javax.security.auth.login.LoginException
login
@Deprecated
public java.util.List login(java.lang.String username,
java.lang.String password,
java.util.Hashtable configEnv)
throws javax.security.auth.login.LoginException
- Deprecated.
- This method has been deprecated as it requires Password in String format, which causes a security issue.
-
- Throws:
javax.security.auth.login.LoginException
logout
public void logout()
getService
public java.lang.Object getService(java.lang.Class serviceClass)
- Returns the service corresponding to the class
-
- Parameters:
serviceClass
-
- Returns:
Skip navigation links
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.