[jboss-jira] [JBoss JIRA] (WFLY-7682) PropertiesSecurityRealm does not catch DecodeException
Jan Kalina (JIRA)
issues at jboss.org
Fri Nov 25 09:32:00 EST 2016
[ https://issues.jboss.org/browse/WFLY-7682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Kalina moved ELY-795 to WFLY-7682:
--------------------------------------
Project: WildFly (was: WildFly Elytron)
Key: WFLY-7682 (was: ELY-795)
> PropertiesSecurityRealm does not catch DecodeException
> ------------------------------------------------------
>
> Key: WFLY-7682
> URL: https://issues.jboss.org/browse/WFLY-7682
> Project: WildFly
> Issue Type: Bug
> Reporter: Jan Kalina
> Assignee: Jan Kalina
>
> Following exception is not enclosed into Realm exception when problem with properties file occure:
> {code:java}
> org.wildfly.security.util.DecodeException: ELY03007: Invalid hex character
> org.wildfly.security.util.NumericIterator$5.calc(NumericIterator.java:1074)
> org.wildfly.security.util.NumericIterator$5.hasNext(NumericIterator.java:1090)
> org.wildfly.security.util.ByteIterator.drainTo(ByteIterator.java:1153)
> org.wildfly.security.util.ByteIterator.drain(ByteIterator.java:1165)
> org.wildfly.security.auth.realm.LegacyPropertiesSecurityRealm$1.verifyEvidence(LegacyPropertiesSecurityRealm.java:171)
> org.wildfly.security.auth.server.ServerAuthenticationContext$NameAssignedState.verifyEvidence(ServerAuthenticationContext.java:1680)
> org.wildfly.security.auth.server.ServerAuthenticationContext.verifyEvidence(ServerAuthenticationContext.java:655)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list