How to obtain a binding with LDAP URL in EAP 6/7?

Solution Unverified - Updated -

Issue

  • Creating a simple binding works for http://xxx with java.net.URL but fails with ldap://example when I try:
/subsystem=naming/binding="java:jboss/url/test":add(value="ldap://example",binding-type="simple",type="java.net.URL")
{
    "outcome" => "failed",
    "failure-description" => "JBAS011867: Unable to transform URL binding value ldap://test",
    "rolled-back" => true
}

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x (6.3+)
    • 7.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content