|
Sun Adapter for LDAP API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.connector.ldapadapter.utils.LDAPUtil
public class LDAPUtil
General utilities for the LDAP eWay. This class contains utility methods that are accessed by other classes.
Constructor Summary | |
---|---|
LDAPUtil()
|
Method Summary | |
---|---|
static boolean |
isControlSupported(java.lang.String control,
java.lang.String providerURL,
javax.naming.Context context)
Method to check the support for a particular control by the LDAP server. |
static boolean |
isExtensionSupported(java.lang.String extension,
java.lang.String providerURL,
javax.naming.Context context)
Method to check the support for a particular extension by the LDAP server. |
static boolean |
isJDK13only()
Method to check if the JDK on which the application is running supports only JDK version 1.3 or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LDAPUtil()
Method Detail |
---|
public static boolean isJDK13only()
public static boolean isExtensionSupported(java.lang.String extension, java.lang.String providerURL, javax.naming.Context context) throws LDAPApplicationException
extension
- the name of the extension that needs to be checked.providerURL
- the URL of the LDAP server.context
- the Context object (connection) to send requests to the LDAP server.
LDAPApplicationException
- when some problem occurs while contacting the LDAP server.public static boolean isControlSupported(java.lang.String control, java.lang.String providerURL, javax.naming.Context context) throws LDAPApplicationException
control
- the name of the control that needs to be checked.providerURL
- the URL of the LDAP server.context
- the Context object (connection) to send requests to the LDAP server.
LDAPApplicationException
- when some problem occurs while contacting the LDAP server.
|
Sun Adapter for LDAP API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |