How to use LDAP together with local silent authentication in management realm in JBoss EAP?

Solution Verified - Updated -

Issue

  • How to use LDAP as well as silent authentication in management realm?
  • How to use LDAP as well as local authentication in management realm?
  • Is there a way to maintain the LDAP authentication around the management interfaces, but allow the shutdown command (running locally) to connect to the CLI without the need for passing user and password?
  • How to connect CLI locally without the need for passing the username and password, when management realm is configured to use LDAP?
  • The JBoss CLI always asks for credentials when configured as follows :-
            <security-realm name="ldap_security_realm">
                <authentication>
                    <local default-user="$local"/>
                    <ldap connection="ldap_connection" base-dn="dc=SPNEGO,dc=COM" recursive="true">
                        <username-filter attribute="sAMAccountName"/>
                    </ldap>
                     ...

            <native-interface security-realm="ldap_security_realm">
                <socket-binding native="management-native"/>
            </native-interface>

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6
    • 7

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