org.codehaus.plexus.redback.common.ldap
Class LdapUtils

java.lang.Object
  extended by org.codehaus.plexus.redback.common.ldap.LdapUtils

public final class LdapUtils
extends java.lang.Object

Version:
$Id: LdapUtils.java 680 2009-01-01 22:09:45Z olamy $

Method Summary
static java.lang.String getAttributeValue(javax.naming.directory.Attributes attributes, java.lang.String attrName, java.lang.String attributeDescription)
           
static java.lang.String getAttributeValueFromByteArray(javax.naming.directory.Attributes attributes, java.lang.String attrName, java.lang.String attributeDescription)
           
static java.lang.String getLabeledUriValue(javax.naming.directory.Attributes attributes, java.lang.String attrName, java.lang.String label, java.lang.String attributeDescription)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLabeledUriValue

public static java.lang.String getLabeledUriValue(javax.naming.directory.Attributes attributes,
                                                  java.lang.String attrName,
                                                  java.lang.String label,
                                                  java.lang.String attributeDescription)
                                           throws MappingException
Throws:
MappingException

getAttributeValue

public static java.lang.String getAttributeValue(javax.naming.directory.Attributes attributes,
                                                 java.lang.String attrName,
                                                 java.lang.String attributeDescription)
                                          throws MappingException
Throws:
MappingException

getAttributeValueFromByteArray

public static java.lang.String getAttributeValueFromByteArray(javax.naming.directory.Attributes attributes,
                                                              java.lang.String attrName,
                                                              java.lang.String attributeDescription)
                                                       throws MappingException
Throws:
MappingException


Copyright © 2006-2011 Codehaus. All Rights Reserved.