[JBoss JIRA] (WFCORE-4241) remove-identity in filesystem-realm fails when executed before filesystem-realm removal in the same batch
by Diana Vilkolakova (Jira)
[ https://issues.jboss.org/browse/WFCORE-4241?page=com.atlassian.jira.plugi... ]
Diana Vilkolakova updated WFCORE-4241:
--------------------------------------
Description:
Elytron filesystem-realm has an {{remove-identity}} operation. If executed in the same batch with later removal of said filesystem-realm, the remove-identity operation will fail with error: filesystem-realm not found.
was:
Elytron filesystem-realm has an {{remove-identity}} operation. If executed in the same batch with later removal of said filesystem-realm, the remove-identity will fail with error: filesystem-realm not found.
> remove-identity in filesystem-realm fails when executed before filesystem-realm removal in the same batch
> ---------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-4241
> URL: https://issues.jboss.org/browse/WFCORE-4241
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Reporter: Diana Vilkolakova
> Priority: Major
> Attachments: add.cli, remove.cli
>
>
> Elytron filesystem-realm has an {{remove-identity}} operation. If executed in the same batch with later removal of said filesystem-realm, the remove-identity operation will fail with error: filesystem-realm not found.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFCORE-4241) remove-identity in filesystem-realm fails when executed before filesystem-realm removal in the same batch
by Diana Vilkolakova (Jira)
[ https://issues.jboss.org/browse/WFCORE-4241?page=com.atlassian.jira.plugi... ]
Diana Vilkolakova updated WFCORE-4241:
--------------------------------------
Description:
Elytron filesystem-realm has an {{remove-identity}} operation. If executed in the same batch with later removal of said filesystem-realm, the remove-identity will fail with error: filesystem-realm not found.
was:
Elytron filesystem-realm has an {{remove-identity}} operation. If executed in the same batch with later removal of said filesystem-realm, the batch will fail with error: filesystem-realm not found.
> remove-identity in filesystem-realm fails when executed before filesystem-realm removal in the same batch
> ---------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-4241
> URL: https://issues.jboss.org/browse/WFCORE-4241
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Reporter: Diana Vilkolakova
> Priority: Major
> Attachments: add.cli, remove.cli
>
>
> Elytron filesystem-realm has an {{remove-identity}} operation. If executed in the same batch with later removal of said filesystem-realm, the remove-identity will fail with error: filesystem-realm not found.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFCORE-4241) remove-identity in filesystem-realm fails when executed before filesystem-realm removal in the same batch
by Diana Vilkolakova (Jira)
[ https://issues.jboss.org/browse/WFCORE-4241?page=com.atlassian.jira.plugi... ]
Diana Vilkolakova updated WFCORE-4241:
--------------------------------------
Steps to Reproduce:
1. Start wildfly server
2. execute this in CLI:
{quote} batch
/subsystem=elytron/filesystem-realm=exampleFsRealm:add(path=fs-realm-users,relative-to=jboss.server.config.dir)
/subsystem=elytron/filesystem-realm=exampleFsRealm:add-identity(identity=user)
run-batch{quote}
3. Try to execute the following in CLI:
{quote} batch
/subsystem=elytron/filesystem-realm=exampleFsRealm:remove-identity(identity=user)
/subsystem=elytron/filesystem-realm=exampleFsRealm:remove()
run-batch{quote}
I'm attaching both CLI files
was:
1. Start wildfly server
2. execute this in CLI:
bq. batch
bq. /subsystem=elytron/filesystem-realm=exampleFsRealm:add(path=fs-realm-users,relative-to=jboss.server.config.dir)
bq. /subsystem=elytron/filesystem-realm=exampleFsRealm:add-identity(identity=user)
bq. run-batch
3. Try to execute the following in CLI:
bq. batch
bq. /subsystem=elytron/filesystem-realm=exampleFsRealm:remove-identity(identity=user)
bq. /subsystem=elytron/filesystem-realm=exampleFsRealm:remove()
bq. run-batch
I'm attaching both CLI files
> remove-identity in filesystem-realm fails when executed before filesystem-realm removal in the same batch
> ---------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-4241
> URL: https://issues.jboss.org/browse/WFCORE-4241
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Reporter: Diana Vilkolakova
> Priority: Major
> Attachments: add.cli, remove.cli
>
>
> Elytron filesystem-realm has an {{remove-identity}} operation. If executed in the same batch with later removal of said filesystem-realm, the batch will fail with error: filesystem-realm not found.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFCORE-4241) remove-identity in filesystem-realm fails when executed before filesystem-realm removal in the same batch
by Diana Vilkolakova (Jira)
[ https://issues.jboss.org/browse/WFCORE-4241?page=com.atlassian.jira.plugi... ]
Diana Vilkolakova updated WFCORE-4241:
--------------------------------------
Steps to Reproduce:
1. Start wildfly server
2. execute this in CLI:
bq. batch
bq. /subsystem=elytron/filesystem-realm=exampleFsRealm:add(path=fs-realm-users,relative-to=jboss.server.config.dir)
bq. /subsystem=elytron/filesystem-realm=exampleFsRealm:add-identity(identity=user)
bq. run-batch
3. Try to execute the following in CLI:
bq. batch
bq. /subsystem=elytron/filesystem-realm=exampleFsRealm:remove-identity(identity=user)
bq. /subsystem=elytron/filesystem-realm=exampleFsRealm:remove()
bq. run-batch
I'm attaching both CLI files
was:
1. Start wildfly server
2. execute this in CLI:
bq. batch
bq. /subsystem=elytron/filesystem-realm=exampleFsRealm:add(path=fs-realm-users,relative-to=jboss.server.config.dir)
bq. /subsystem=elytron/filesystem-realm=exampleFsRealm:add-identity(identity=user)
bq. run-batch
3. Try to execute the following in CLI:
bq. batch
bq. /subsystem=elytron/filesystem-realm=exampleFsRealm:remove-identity(identity=user)
bq. /subsystem=elytron/filesystem-realm=exampleFsRealm:remove()
bq. run-batch
I'm attaching both the CLI files
> remove-identity in filesystem-realm fails when executed before filesystem-realm removal in the same batch
> ---------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-4241
> URL: https://issues.jboss.org/browse/WFCORE-4241
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Reporter: Diana Vilkolakova
> Priority: Major
> Attachments: add.cli, remove.cli
>
>
> Elytron filesystem-realm has an {{remove-identity}} operation. If executed in the same batch with later removal of said filesystem-realm, the batch will fail with error: filesystem-realm not found.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFCORE-4240) CLI, failed interactive enable-ssl commands put the server in reload state
by Jean-Francois Denise (Jira)
Jean-Francois Denise created WFCORE-4240:
--------------------------------------------
Summary: CLI, failed interactive enable-ssl commands put the server in reload state
Key: WFCORE-4240
URL: https://issues.jboss.org/browse/WFCORE-4240
Project: WildFly Core
Issue Type: Bug
Components: CLI
Reporter: Jean-Francois Denise
Assignee: Jean-Francois Denise
In case of not complete config (eg: no management-https, no https-listener), the interactive session will abort. Due to WFCORE-3491 we have some logic to cleanup keystore that would have been created prior a failure occurs.
This removal of the keystore puts the server in reload-state so should be reloaded by the command.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months