[JBoss JIRA] (ELY-172) PropertiesKeyStoreSpi is callsing PasswordFactory.getInstance(ALGORITHM_DIGEST_MD5) in a loop
by Darran Lofthouse (JIRA)
Darran Lofthouse created ELY-172:
------------------------------------
Summary: PropertiesKeyStoreSpi is callsing PasswordFactory.getInstance(ALGORITHM_DIGEST_MD5) in a loop
Key: ELY-172
URL: https://issues.jboss.org/browse/ELY-172
Project: WildFly Elytron
Issue Type: Enhancement
Components: SSL
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Fix For: 1.0.0.Alpha1
PasswordFactory.getInstance(ALGORITHM_DIGEST_MD5) is called once for each user in the file, each time this is called all registered providers are queried - instead this should be called once and cached.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (ELY-171) Properties based KeyStore fails to parse default WildFly properties file.
by Darran Lofthouse (JIRA)
Darran Lofthouse created ELY-171:
------------------------------------
Summary: Properties based KeyStore fails to parse default WildFly properties file.
Key: ELY-171
URL: https://issues.jboss.org/browse/ELY-171
Project: WildFly Elytron
Issue Type: Bug
Components: SSL
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Fix For: 1.0.0.Alpha1
The default file only contains commented out lines, however the following error is reported.
{noformat}
12:28:44,523 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-12) MSC000001: Failed to start service elytron.keystore.mgmt_properties: org.jboss.msc.service.StartException in service elytron.keystore.mgmt_properties: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: The supplied character array must contain an even number of hex chars.
at org.wildfly.security.sasl.util.HexConverter.convertFromHex(HexConverter.java:91)
at org.wildfly.security.sasl.util.HexConverter.convertFromHex(HexConverter.java:123)
at org.wildfly.security.keystore.PropertiesKeyStoreSpi.engineLoad(PropertiesKeyStoreSpi.java:296)
at java.security.KeyStore.load(KeyStore.java:1433)
at org.wildfly.security.keystore.AtomicLoadKeyStoreSpi.engineLoad(AtomicLoadKeyStoreSpi.java:51)
at java.security.KeyStore.load(KeyStore.java:1433)
at org.wildfly.extension.elytron.KeyStoreService.start(KeyStoreService.java:109)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
... 3 more
12:28:44,527 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "elytron"),
("keystore" => "mgmt_properties")
]) - failure description: {"WFLYCTL0080: Failed services" => {"elytron.keystore.mgmt_properties" => "org.jboss.msc.service.StartException in service elytron.keystore.mgmt_properties: Failed to start service
Caused by: java.lang.IllegalArgumentException: The supplied character array must contain an even number of hex chars."}}
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (ELY-170) Transition the still useful parts of JBoss Negotiation into Elytron
by Darran Lofthouse (JIRA)
Darran Lofthouse created ELY-170:
------------------------------------
Summary: Transition the still useful parts of JBoss Negotiation into Elytron
Key: ELY-170
URL: https://issues.jboss.org/browse/ELY-170
Project: WildFly Elytron
Issue Type: Feature Request
Components: Utils
Reporter: Darran Lofthouse
Fix For: 1.0.0.Beta1
Generally JBoss Negotiation should be obsolete, however some portions may be useful to be included in Elytron e.g. the SPNEGO parsing so that we can display some meaningful diagnostics.
By the time we reach the end of WildFly 10 nothing should require a direct dependency on JBoss Negotiation and really it should be removed from the application server distribution.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month