[jboss-jira] [JBoss JIRA] (ELY-940) key-store-ssl-certificate -> key-store-clear-password is wrapping parsing inside the Supplier

Darran Lofthouse (JIRA) issues at jboss.org
Thu Feb 9 22:18:00 EST 2017


Darran Lofthouse created ELY-940:
------------------------------------

             Summary: key-store-ssl-certificate -> key-store-clear-password is wrapping parsing inside the Supplier
                 Key: ELY-940
                 URL: https://issues.jboss.org/browse/ELY-940
             Project: WildFly Elytron
          Issue Type: Task
          Components: Authentication Client
            Reporter: Darran Lofthouse
            Assignee: Darran Lofthouse
             Fix For: 1.1.0.Beta24


This means we get errors like this where the parser is accessed after parsing should have finished: -

{{[disconnected /] connect
java.lang.IllegalStateException: Current event not START_ELEMENT
	at com.ctc.wstx.sr.BasicStreamReader.getAttributeCount(BasicStreamReader.java:584)
	at org.wildfly.client.config.BasicXMLStreamReader.getAttributeCount(BasicXMLStreamReader.java:191)
	at org.wildfly.client.config.AbstractDelegatingXMLStreamReader.getAttributeCount(AbstractDelegatingXMLStreamReader.java:148)
	at org.wildfly.client.config.AbstractDelegatingXMLStreamReader.getAttributeCount(AbstractDelegatingXMLStreamReader.java:148)
	at org.wildfly.security.auth.client.ElytronXmlParser.parseClearPassword(ElytronXmlParser.java:1864)
	at org.wildfly.security.auth.client.ElytronXmlParser.lambda$parseKeyStoreRefType$43(ElytronXmlParser.java:1270)
	at org.wildfly.security.auth.client.ElytronXmlParser.lambda$parseKeyStoreRefType$44(ElytronXmlParser.java:1286)
	at org.wildfly.security.auth.client.ElytronXmlParser$PrivateKeyKeyStoreEntryCredentialFactory.get(ElytronXmlParser.java:2232)
	at org.wildfly.security.auth.client.ElytronXmlParser.lambda$parseSslContextType$5(ElytronXmlParser.java:434)
	at org.wildfly.security.auth.client.ElytronXmlParser.lambda$parseSslContextRuleType$6(ElytronXmlParser.java:457)
	at org.wildfly.security.auth.client.ElytronXmlParser.lambda$parseRulesType$8(ElytronXmlParser.java:493)
	at org.wildfly.security.auth.client.ElytronXmlParser.parseAuthenticationClientType(ElytronXmlParser.java:292)
}}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list