Bug 1265492 - Information about creation of authorization/authentication in security domain is lost after reload/restart
Summary: Information about creation of authorization/authentication in security domain...
Keywords:
Status: CLOSED DUPLICATE of bug 1029928
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: CLI
Version: 6.4.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Joe Wertz
QA Contact: Petr Kremensky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-23 05:29 UTC by Juraj Duráni
Modified: 2016-01-04 05:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
standalone mode
Last Closed: 2015-09-23 07:48:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Juraj Duráni 2015-09-23 05:29:49 UTC
Description of problem:
If user creates a new security domain and authentication/authorization resource, subsequent reload/restart clears those resources.

Steps to Reproduce:
1. start the server
2. connect to cli
3. run commands:
/subsystem=security/security-domain=new:add
/subsystem=security/security-domain=new/authentication=classic:add
:reload
/subsystem=security/security-domain=new/authentication=classic/login-module=Remoting:add(flag=optional)

Actual results:
{
    "outcome" => "failed",
    "failure-description" => "JBAS014766: Resource [
    (\"subsystem\" => \"security\"),
    (\"security-domain\" => \"new\"),
    (\"authentication\" => \"classic\")
] does not exist; a resource at address [
    (\"subsystem\" => \"security\"),
    (\"security-domain\" => \"new\"),
    (\"authentication\" => \"classic\"),
    (\"login-module\" => \"Remoting\")
] cannot be created until all ancestor resources have been added",
    "rolled-back" => true
}

Expected results:
There is no element <authentication>/<authorization> in relevant section of standalone.xml. Maybe empty elements could help.

Comment 1 Chao Wang 2015-09-23 07:48:32 UTC

*** This bug has been marked as a duplicate of bug 1029928 ***


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