-
1. Re: Steps to Enable RBAC Provider in Wildfy 10
ray2017 Jun 13, 2017 7:36 PM (in response to ray2017)Getting below error
./jboss-cli.sh
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
[disconnected /] connect
[standalone@localhost:9990 /] cd core-service=management/access=authorization
[standalone@localhost:9990 access=authorization] :write-attribute(name=provider,value=rbac)
{
"outcome" => "failed",
"failure-description" => "WFLYDM0068: The current operation(s) would result in role based access control being enabled but leave it impossible for authenticated users to be assigned roles.",
"rolled-back" => true
}
[standalone@localhost:9990 access=authorization]
-
2. Re: Steps to Enable RBAC Provider in Wildfy 10
abhijithumbe Jun 13, 2017 10:03 PM (in response to ray2017)Tried with similar commands and its working file for me:
CLI commands:
`/core-service=management/access=authorization:write-attribute(name=provider,value=rbac)
/core-service=management/access=authorization/role-mapping=SuperUser:add
/core-service=management/access=authorization/role-mapping=Monitor/include=ManagementRealm:add(name=user1,type=USER)`
Output
[standalone@localhost:9990 /] /core-service=management/access=authorization:write-attribute(name=provider,value=rbac)
{
"outcome" => "success",
"response-headers" => {
"operation-requires-reload" => true,
"process-state" => "reload-required"
}
}
[standalone@localhost:9990 /] /core-service=management/access=authorization/role-mapping=SuperUser:add
{
"outcome" => "success",
"response-headers" => {"process-state" => "reload-required"}
}
[standalone@localhost:9990 /] /core-service=management/access=authorization/role-mapping=Monitor/include=ManagementRealm:add(name=user1,type=USER)
{
"outcome" => "success",
"response-headers" => {"process-state" => "reload-required"}
}
-
3. Re: Steps to Enable RBAC Provider in Wildfy 10
ray2017 Jun 13, 2017 10:59 PM (in response to abhijithumbe)still it not working for me. Its a vanilla installation of wildfly