[JBoss JIRA] (WFLY-5227) Move security-manager subsystem from WildFly to WildFly Core
by Ken Wills (JIRA)
[ https://issues.jboss.org/browse/WFLY-5227?page=com.atlassian.jira.plugin.... ]
Ken Wills edited comment on WFLY-5227 at 11/30/16 6:12 PM:
-----------------------------------------------------------
Updated, working core diff here, with GAV change and a manual fixup of the metadata dep removal and additional loggers added previously (see the commits at the end.)
https://github.com/wildfly/wildfly-core/compare/master...luck3y:security-...
As part of some rebase weirdness, removing commits up to 'de72c28 WFLY-401 Add the security manager subsystem' leaves some legacy code around (Security actions). I could either continue with the truncated rebase and manually remove these files at the end, or just include the complete history. I think it makes sense to go with the complete history.
Core boots and works, both with and without -secmgr, though I don't know how to test it further than that :)
was (Author: luck3y):
Updated, working core diff here, with GAV change and a manual fixup of the metadata dep removal and additional loggers added previously:
https://github.com/wildfly/wildfly-core/compare/master...luck3y:security-...
As part of some rebase weirdness, removing commits up to 'de72c28 WFLY-401 Add the security manager subsystem' leaves some legacy code around (Security actions). I could either continue with the truncated rebase and manually remove these files at the end, or just include the complete history. I think it makes sense to go with the complete histrory.
Core boots and works, both with and without -secmgr, though I don't know how to test it further than that :)
> Move security-manager subsystem from WildFly to WildFly Core
> ------------------------------------------------------------
>
> Key: WFLY-5227
> URL: https://issues.jboss.org/browse/WFLY-5227
> Project: WildFly
> Issue Type: Bug
> Components: Security Manager
> Reporter: Josef Cacek
> Assignee: Ken Wills
> Priority: Critical
>
> It's not possible to define security permissions in WildFly Core without {{security-manager}} subsystem. Therefore the subsystem should be moved from WildFly to the Core.
> More details in the [Permissions in WildFly Core|http://lists.jboss.org/pipermail/wildfly-dev/2015-August/thread.html...] thread on {{wildfly-dev}} mailing list.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years
[JBoss JIRA] (WFCORE-2073) Increase the likelihood of ManagedProcess kill invoking the OS kill command when multiple HCs are on the system
by Brian Stansberry (JIRA)
Brian Stansberry created WFCORE-2073:
----------------------------------------
Summary: Increase the likelihood of ManagedProcess kill invoking the OS kill command when multiple HCs are on the system
Key: WFCORE-2073
URL: https://issues.jboss.org/browse/WFCORE-2073
Project: WildFly Core
Issue Type: Enhancement
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Priority: Minor
The ManagedProcess kill() method relies on a scan of running processes that have a command line with -D[<processname>] in the command line, refusing to do the OS kill if > 1 such process is found.
This is troublesome if you have > 1 HC on the machine, as they are likely to use the same process names (e.g. "Server:server-one"). So the 'kill' doesn't happen, and destroy() gets used instead. Destroy doesn't seem as strong, as it seems to not prevent shutdown hook execution, leaving open the possibility of hangs.
Perhaps the PC could generate a random int or even a short and include that as a param on the command line as well, then use that as part of the discrimination check.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years
[JBoss JIRA] (WFCORE-2072) ManagedProcess destroy should use Process.destroyForcibly().
by Brian Stansberry (JIRA)
Brian Stansberry created WFCORE-2072:
----------------------------------------
Summary: ManagedProcess destroy should use Process.destroyForcibly().
Key: WFCORE-2072
URL: https://issues.jboss.org/browse/WFCORE-2072
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Since JDK 8, the contract of java.lang.Process.destroy() has changed to no longer specify that the destroy must be forcible. A new destroyForcibly() method was added, so we should use that.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years
[JBoss JIRA] (WFLY-7662) CLIENT-CERT authentication doesn't work
by Rostyslav Smirnov (JIRA)
[ https://issues.jboss.org/browse/WFLY-7662?page=com.atlassian.jira.plugin.... ]
Rostyslav Smirnov commented on WFLY-7662:
-----------------------------------------
It is caused by HTTP/2 enablement in Wildfly 10.1.0. Browser doesn't present a certificate when establishing the connection, so [ClientCertAuthenticationMechanism|https://github.com/undertow-io/undertow...] renegotiates, triggering browser to present certificate dialog prompt. This doesn't happen in Wildfly 10.1.0 due to [Http2SslSessionInfo|https://github.com/undertow-io/undertow/blob/1.4.0.Final/core/src/main/java/io/undertow/server/protocol/http2/Http2SslSessionInfo.java#L91] not supporting renegotiation.
> CLIENT-CERT authentication doesn't work
> ---------------------------------------
>
> Key: WFLY-7662
> URL: https://issues.jboss.org/browse/WFLY-7662
> Project: WildFly
> Issue Type: Bug
> Components: Web (Undertow)
> Affects Versions: 10.1.0.Final
> Environment: Java 1.8.0_112
> Reporter: Rostyslav Smirnov
> Assignee: Stuart Douglas
>
> When accessing a web application secured by CLIENT-CERT authentication, a browser no longer presents certificate dialog prompt, always displays response 403 Forbidden instead.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years
[JBoss JIRA] (WFCORE-2003) replacement expression in access-control
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2003?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFCORE-2003:
-------------------------------------
Issue Type: Enhancement (was: Feature Request)
> replacement expression in access-control
> ----------------------------------------
>
> Key: WFCORE-2003
> URL: https://issues.jboss.org/browse/WFCORE-2003
> Project: WildFly Core
> Issue Type: Enhancement
> Components: Domain Management
> Affects Versions: 2.1.0.Final
> Environment: EAP7.0.3
> Reporter: Hisanobu Okuda
> Assignee: Brian Stansberry
>
> Our customer wants to use replacement expression in `<access-control/>`:
> {code}
> ${env.VARNAME} for environemt vars
> ${VARNAME} for system properties
> ${VAULT::BLOCK::attribute::1} for vars stored inside jboss vault
> {code}
> Example:
> while adding group in for any role like (SuperUser) .
> {code}
> /core-service=management/access=authorization/role-mapping=SuperUser/include="group_admin":add(name="${ldap_admin_grp}", type=GROUP)
> {code}
> resulting :
> {code}
> <role name="SuperUser">
> <include>
> <user name="$local"/>
> <group alias="group_admin" name="${ldap_admin_grp}"/>
> </include>
> </role>
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years