Translated message

A translation of this page exists in English.

JBoss EAP 8.0.x の jboss-client.jar でローカルユーザーのサイレント認証が失敗する

Solution In Progress - Updated -

Issue

  • JBoss EAP 8.x では管理ポートに対してローカルユーザーのサイレント認証 (ローカルホストから接続) が有効になっていますが、JBoss EAP 8.0.x で jboss-client.jar を使用してローカルホストからサーバーに接続すると認証に失敗します。
  • デフォルト設定 (管理ポートに対してローカルユーザーのサイレント認証がデフォルトで有効) で JBoss EAP 8.0 の jboss-client.jar を使用して JMX クライアントアプリケーション (この記事 のサンプルコードなど) を実行すると、次の認証例外が発生してサーバーに接続できません。

    Exception in thread "main" javax.security.sasl.SaslException: Authentication failed: none of the mechanisms presented by the server (JBOSS-LOCAL-USER, DIGEST-MD5) are supported
        at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:443)
        at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:244)
        at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
        at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
        at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89)
        at org.xnio.nio.WorkerThread.run(WorkerThread.java:603)
        at ...asynchronous invocation...(Unknown Source)
        at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:600)
        at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:561)
        at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:549)
        at org.jboss.remotingjmx.RemotingConnector.internalRemotingConnect(RemotingConnector.java:268)
        at org.jboss.remotingjmx.RemotingConnector.internalConnect(RemotingConnector.java:156)
        at org.jboss.remotingjmx.RemotingConnector.connect(RemotingConnector.java:103)
        at java.management/javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270)
        at JmxClient.main(JmxClient.java:51)
    

    同じアプリケーションで、JBoss EAP 7.x に含まれる jboss-client.jar を使用して JBoss EAP 7.4 に接続すると、問題は発生しませんでした。

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 8.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