[JBoss JIRA] (WFLY-6657) permissions.xml is not parsed if -Dorg.jboss.server.bootstrap.maxThreads is explicitly set
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFLY-6657?page=com.atlassian.jira.plugin.... ]
Darran Lofthouse reassigned WFLY-6657:
--------------------------------------
Assignee: (was: Darran Lofthouse)
> permissions.xml is not parsed if -Dorg.jboss.server.bootstrap.maxThreads is explicitly set
> ------------------------------------------------------------------------------------------
>
> Key: WFLY-6657
> URL: https://issues.jboss.org/browse/WFLY-6657
> Project: WildFly
> Issue Type: Bug
> Components: Security, Security Manager
> Affects Versions: 8.2.0.Final, 9.0.1.Final
> Environment: Reproduced on both Windows and RedHat machines.
> Reporter: Marius Ani
> Priority: Minor
>
> If -Dorg.jboss.server.bootstrap.maxThreads is explictily set in Wildfly, then, the permissions.xml file is not even parsed when the application is deployed.
> Debugging the Wildfly 8.2.0 source code revealed the problem in org.jboss.as.server.ServerService#addService:218
> {code:java}
> if (configuration.getServerEnvironment().isAllowModelControllerExecutor()) {
> serviceBuilder.addDependency(Services.JBOSS_SERVER_EXECUTOR, ExecutorService.class, service.getExecutorServiceInjector());
> }
> {code}
> The org.jboss.as.server.ServerEnvironment#allowModelControllerExecutor property is set to true if -Dorg.jboss.server.bootstrap.maxThreads was set.
> The above 'if' seems a little strange because a default value for maxThreads is always set in org.jboss.as.server.ServerEnvironment#getBootstrapMaxThreads even when the -Dorg.jboss.server.bootstrap.maxThreads property was not specified.
> This may also cause other things to not work properly when -Dorg.jboss.server.bootstrap.maxThreads is set.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (WFLY-6881) User with password which contains chinese chars isn't able to log in to AD (on Windows).
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFLY-6881?page=com.atlassian.jira.plugin.... ]
Darran Lofthouse reassigned WFLY-6881:
--------------------------------------
Assignee: (was: Darran Lofthouse)
> User with password which contains chinese chars isn't able to log in to AD (on Windows).
> ----------------------------------------------------------------------------------------
>
> Key: WFLY-6881
> URL: https://issues.jboss.org/browse/WFLY-6881
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Reporter: Hynek Švábek
> Priority: Minor
>
> We have a problem log in to AD on Windows. When user has password with chinese chars he cannot log in.
> My observations:
> I found out this: If I create AD entries from linux and update testsuite for using this entries (not creating own) then it is ok.
> I wasn't able to find out where is the exact problem. In my opinion there is some problem with creating AD user password on windows.
> Workaround:
> Creating AD data in other way.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months
[JBoss JIRA] (WFLY-6925) vault-tool adds invalid character to "ENC_FILE_DIR"
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFLY-6925?page=com.atlassian.jira.plugin.... ]
Darran Lofthouse reassigned WFLY-6925:
--------------------------------------
Assignee: (was: Darran Lofthouse)
> vault-tool adds invalid character to "ENC_FILE_DIR"
> ---------------------------------------------------
>
> Key: WFLY-6925
> URL: https://issues.jboss.org/browse/WFLY-6925
> Project: WildFly
> Issue Type: Feature Request
> Components: Security
> Affects Versions: 10.0.0.Final
> Reporter: Krashan Brahmanjara
> Priority: Trivial
>
> vault-tool executed on Windows adds invalid character to "ENC_FILE_DIR"
> for example this
> {code:java}
> <vault-option name="ENC_FILE_DIR" value="./vault\"/>
> {code}
> instead
> {code:java}
> <vault-option name="ENC_FILE_DIR" value="./vault/"/>
> {code}
> Second code also works on Windows and can be easily used on linux.
> Test command:
> vault.bat --keystore key.store --keystore-password abc123 --alias Vault --vault-block ws --attribute ws-user1 --sec-attr passwd --enc-dir ./vault --iteration 95 --salt ABCD1234
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 11 months