[JBoss JIRA] (ELY-1664) Trace logging in SSLUtils
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/ELY-1664?page=com.atlassian.jira.plugin.s... ]
Darran Lofthouse updated ELY-1664:
----------------------------------
Fix Version/s: 1.7.0.CR1
> Trace logging in SSLUtils
> -------------------------
>
> Key: ELY-1664
> URL: https://issues.jboss.org/browse/ELY-1664
> Project: WildFly Elytron
> Issue Type: Bug
> Components: SSL
> Affects Versions: 1.6.0.Final
> Reporter: Martin Choma
> Assignee: Justin Cook
> Fix For: 1.6.1.CR1, 1.7.0.CR1
>
>
> Check Trace logging of ssl context creation. How I read code logging should apply after throw expression. That wouldn never happen. Also there is another throw of exception with SSLUtils::throwIt.
> {code:java|title=org.wildfly.security.ssl.SSLUtils}
> // now return a factory that will return the best match is can create.
> final String[] supportedProtocols = protocolSelector.evaluate(preferredProviderByAlgorithm.keySet().toArray(NO_STRINGS));
> if (supportedProtocols.length > 0) {
> return () -> {
> for (String protocol : supportedProtocols) {
> List<Provider> providerList = preferredProviderByAlgorithm.getOrDefault(protocol, Collections.emptyList());
> for (Provider provider : providerList) {
> try {
> return SSLContext.getInstance(protocol, provider);
> } catch (NoSuchAlgorithmException ignored) {}
> }
> }
> throw ElytronMessages.log.noAlgorithmForSslProtocol();
> };
> }
> if (log.isTraceEnabled()) {
> log.tracef("No %s provided by providers in %s: %s", SERVICE_TYPE, SSLUtils.class.getSimpleName(), Arrays.toString(providerSupplier.get()));
> }
> return SSLUtils::throwIt;
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-11013) Hash encoding Exception when using @DatabaseIdentityStoreDefinition
by Martin Švehla (JIRA)
[ https://issues.jboss.org/browse/WFLY-11013?page=com.atlassian.jira.plugin... ]
Martin Švehla commented on WFLY-11013:
--------------------------------------
@DatabaseIdentityStoreDefinition expects password in DB to be hashed, your seems to be in plaintext.
Please see here for details: https://javaee.github.io/security-api/apidocs/javax/security/enterprise/i...
(TLDR is that stored password hash should be in form of <algorithm>:<iterations>:<base64(salt)>:<base64(hash)>, that's why you get error about incorrect hash encoding.)
> Hash encoding Exception when using @DatabaseIdentityStoreDefinition
> -------------------------------------------------------------------
>
> Key: WFLY-11013
> URL: https://issues.jboss.org/browse/WFLY-11013
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Affects Versions: 14.0.0.Final
> Environment: WildFly 14. Generic Linux. JDK 8/9
> Reporter: Francesco Marchioni
> Assignee: Darran Lofthouse
> Attachments: javaee8-secure-servlet.zip
>
>
> When deploying one application using @DatabaseIdentityStoreDefinition, upon successful login, the following exception is thrown
> {code:java}
> java.lang.IllegalArgumentException: Bad hash encoding
> at org.glassfish.soteria.identitystores.hash.Pbkdf2PasswordHashImpl$EncodedPasswordHash.decode(Pbkdf2PasswordHashImpl.java:209)
> at org.glassfish.soteria.identitystores.hash.Pbkdf2PasswordHashImpl$EncodedPasswordHash.<init>(Pbkdf2PasswordHashImpl.java:191)
> at org.glassfish.soteria.identitystores.hash.Pbkdf2PasswordHashImpl.verify(Pbkdf2PasswordHashImpl.java:147)
> at org.glassfish.soteria.identitystores.DatabaseIdentityStore.validate(DatabaseIdentityStore.java:121)
> at org.glassfish.soteria.identitystores.DatabaseIdentityStore.validate(DatabaseIdentityStore.java:101)
> at org.jboss.weldx.security.enterprise.identitystore.IdentityStore$635317201$Proxy$_$$_WeldClientProxy.validate(Unknown Source)
> at org.glassfish.soteria.cdi.DefaultIdentityStoreHandler.validate(DefaultIdentityStoreHandler.java:97)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (DROOLS-2818) [DMN Designer] [IE11] Rename throws an Error
by Daniel José dos Santos (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2818?page=com.atlassian.jira.plugi... ]
Daniel José dos Santos reassigned DROOLS-2818:
----------------------------------------------
Assignee: Daniel José dos Santos (was: Michael Anstis)
> [DMN Designer] [IE11] Rename throws an Error
> --------------------------------------------
>
> Key: DROOLS-2818
> URL: https://issues.jboss.org/browse/DROOLS-2818
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.10.0.Final
> Environment: IE11
> Reporter: Jozef Marko
> Assignee: Daniel José dos Santos
> Labels: drools-tools
>
> Rename via context menu throws an error dialog: *An error happened [com.google.gwt.core.client.JavaScriptException: (TypeError) : Object doesn't support property or method 'startsWith']. Do you want to undo the last action?*
> Renaming in properties panel works.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months