Bug 1009949 - Unable to configure security realm in domain
Summary: Unable to configure security realm in domain
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Domain Management
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER3
: EAP 6.2.0
Assignee: Brian Stansberry
QA Contact: Petr Kremensky
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks: eap62-beta-blockers
TreeView+ depends on / blocked
 
Reported: 2013-09-19 14:47 UTC by Petr Kremensky
Modified: 2013-12-15 16:21 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-15 16:21:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Kremensky 2013-09-19 14:47:26 UTC
I am unable to configure new security realm for domain. 

Reproduce: 
 - start out-of-box domain
 - connect to CLI
 - create new security realm
[domain@localhost:9999 /] /host=master/core-service=management/security-realm=JBossTest:add
 - run any of following:
[domain@localhost:9999 /] /host=master/core-service=management/security-realm=JBossTest/authentication=properties:add(path=application-users.properties, relative-to=jboss.server.config.dir
[domain@localhost:9999 /] /host=master/core-service=management/security-realm=JBossTest/authentication=jaas:add(name=JBossTestDomain)
[domain@localhost:9999 /] /host=master/core-service=management/security-realm=JBossTest/authentication=local:add(allowed-users="*", default-user="$local")

CLI command will result in:
{
    "outcome" => "failed",
    "result" => undefined,
    "failure-description" => "JBAS010839: Operation failed or was rolled back on all servers.",
    "rolled-back" => true,
    "server-groups" => {"main-server-group" => {"host" => {"master" => {
        "server-one" => {"response" => {
            "outcome" => "failed",
            "failure-description" => "JBAS014883: No resource definition is registered for address [
    (\"host\" => \"master\"),
    (\"core-service\" => \"management\"),
    (\"security-realm\" => \"JBossTest\"),
    (\"authentication\" => \"local\")
]",
            "rolled-back" => true
        }},
        "server-two" => {"response" => {
            "outcome" => "failed",
            "failure-description" => "JBAS014883: No resource definition is registered for address [
    (\"host\" => \"master\"),
    (\"core-service\" => \"management\"),
    (\"security-realm\" => \"JBossTest\"),
    (\"authentication\" => \"local\")
]",
            "rolled-back" => true
        }}
    }}}}
}

This was working with 6.1.1.GA

Comment 2 Petr Kremensky 2013-09-26 06:58:23 UTC
Verified on EAP 6.2.0.ER3


Note You need to log in before you can comment on or make changes to this bug.