2017-07-04 08:48:43,401 INFO [org.jboss.modules] (main) JBoss Modules version 1.6.0.Beta9-redhat-1 2017-07-04 08:48:43,640 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1-redhat-1 2017-07-04 08:48:43,691 TRACE [org.wildfly.security] (main) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:43,699 TRACE [org.wildfly.security] (main) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:43,755 INFO [org.jboss.as] (MSC service thread 1-8) WFLYSRV0049: JBoss EAP 7.1.0.Beta1 (WildFly Core 3.0.0.Beta26-redhat-1) starting 2017-07-04 08:48:43,756 DEBUG [org.jboss.as.config] (MSC service thread 1-8) Configured system properties: [Standalone] = awt.toolkit = sun.awt.X11.XToolkit file.encoding = UTF-8 file.encoding.pkg = sun.io file.separator = / java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment java.awt.headless = true java.awt.printerjob = sun.print.PSPrinterJob java.class.path = /home/okotek/git/tests-picketlink/target/dist/jboss-eap/jboss-modules.jar java.class.version = 52.0 java.endorsed.dirs = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.fc25.x86_64/jre/lib/endorsed java.ext.dirs = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.fc25.x86_64/jre/lib/ext:/usr/java/packages/lib/ext java.home = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.fc25.x86_64/jre java.io.tmpdir = /tmp java.library.path = /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib java.net.preferIPv4Stack = true java.runtime.name = OpenJDK Runtime Environment java.runtime.version = 1.8.0_131-b12 java.specification.name = Java Platform API Specification java.specification.vendor = Oracle Corporation java.specification.version = 1.8 java.util.logging.manager = org.jboss.logmanager.LogManager java.vendor = Oracle Corporation java.vendor.url = http://java.oracle.com/ java.vendor.url.bug = http://bugreport.sun.com/bugreport/ java.version = 1.8.0_131 java.vm.info = mixed mode java.vm.name = OpenJDK 64-Bit Server VM java.vm.specification.name = Java Virtual Machine Specification java.vm.specification.vendor = Oracle Corporation java.vm.specification.version = 1.8 java.vm.vendor = Oracle Corporation java.vm.version = 25.131-b12 javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory jboss.bind.address = localhost jboss.bind.address.management = localhost jboss.home.dir = /home/okotek/git/tests-picketlink/target/dist/jboss-eap jboss.host.name = dhcp-10-40-4-211 jboss.modules.dir = /home/okotek/git/tests-picketlink/target/dist/jboss-eap/modules jboss.modules.system.pkgs = org.jboss.byteman jboss.node.name = dhcp-10-40-4-211 jboss.qualified.host.name = dhcp-10-40-4-211.brq.redhat.com jboss.server.base.dir = /home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone jboss.server.config.dir = /home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/configuration jboss.server.data.dir = /home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/data jboss.server.deploy.dir = /home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/data/content jboss.server.log.dir = /home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/log jboss.server.name = dhcp-10-40-4-211 jboss.server.persist.config = true jboss.server.temp.dir = /home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/tmp line.separator = logging.configuration = file:/home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/configuration/logging.properties module.path = /home/okotek/git/tests-picketlink/target/dist/jboss-eap/modules org.jboss.boot.log.file = /home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/log/server.log org.jboss.resolver.warning = true org.xml.sax.driver = __redirected.__XMLReaderFactory os.arch = amd64 os.name = Linux os.version = 4.10.17-200.fc25.x86_64 path.separator = : sun.arch.data.model = 64 sun.boot.class.path = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.fc25.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.fc25.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.fc25.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.fc25.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.fc25.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.fc25.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.fc25.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.fc25.x86_64/jre/classes sun.boot.library.path = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.fc25.x86_64/jre/lib/amd64 sun.cpu.endian = little sun.cpu.isalist = sun.desktop = gnome sun.io.unicode.encoding = UnicodeLittle sun.java.command = /home/okotek/git/tests-picketlink/target/dist/jboss-eap/jboss-modules.jar -mp /home/okotek/git/tests-picketlink/target/dist/jboss-eap/modules org.jboss.as.standalone -Djboss.home.dir=/home/okotek/git/tests-picketlink/target/dist/jboss-eap -Djboss.server.base.dir=/home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone -Djboss.server.log.dir=/home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/log -Djboss.server.config.dir=/home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/configuration -Dworkaround.property.XXX -c=standalone.xml sun.java.launcher = SUN_STANDARD sun.jnu.encoding = UTF-8 sun.management.compiler = HotSpot 64-Bit Tiered Compilers sun.os.patch.level = unknown user.country = US user.dir = /home/okotek/git/tests-picketlink user.home = /home/okotek user.language = en user.name = okotek user.timezone = Europe/Prague workaround.property.XXX = true 2017-07-04 08:48:43,757 DEBUG [org.jboss.as.config] (MSC service thread 1-8) VM Arguments: -D[Standalone] -Xms64m -Xmx512m -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.bind.address=localhost -Djboss.bind.address.management=localhost -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError -ea -Djboss.home.dir=/home/okotek/git/tests-picketlink/target/dist/jboss-eap -Dorg.jboss.boot.log.file=/home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/log/server.log -Dlogging.configuration=file:/home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/configuration/logging.properties 2017-07-04 08:48:45,160 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation. 2017-07-04 08:48:45,173 TRACE [org.wildfly.security] (ServerService Thread Pool -- 21) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,174 TRACE [org.wildfly.security] (ServerService Thread Pool -- 21) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,176 TRACE [org.wildfly.security] (ServerService Thread Pool -- 20) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,179 TRACE [org.wildfly.security] (ServerService Thread Pool -- 24) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,179 TRACE [org.wildfly.security] (ServerService Thread Pool -- 20) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,176 TRACE [org.wildfly.security] (ServerService Thread Pool -- 11) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,180 TRACE [org.wildfly.security] (ServerService Thread Pool -- 8) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,176 TRACE [org.wildfly.security] (ServerService Thread Pool -- 18) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,180 TRACE [org.wildfly.security] (ServerService Thread Pool -- 8) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,176 TRACE [org.wildfly.security] (ServerService Thread Pool -- 17) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,180 TRACE [org.wildfly.security] (ServerService Thread Pool -- 17) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,176 TRACE [org.wildfly.security] (ServerService Thread Pool -- 5) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,181 TRACE [org.wildfly.security] (ServerService Thread Pool -- 13) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,181 TRACE [org.wildfly.security] (ServerService Thread Pool -- 5) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,180 TRACE [org.wildfly.security] (ServerService Thread Pool -- 18) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,174 TRACE [org.wildfly.security] (ServerService Thread Pool -- 25) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,183 TRACE [org.wildfly.security] (ServerService Thread Pool -- 25) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,189 TRACE [org.wildfly.security] (ServerService Thread Pool -- 27) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,176 TRACE [org.wildfly.security] (ServerService Thread Pool -- 15) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,191 TRACE [org.wildfly.security] (ServerService Thread Pool -- 26) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,176 TRACE [org.wildfly.security] (ServerService Thread Pool -- 23) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,175 TRACE [org.wildfly.security] (ServerService Thread Pool -- 2) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,196 TRACE [org.wildfly.security] (ServerService Thread Pool -- 26) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,197 TRACE [org.wildfly.security] (ServerService Thread Pool -- 2) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,198 TRACE [org.wildfly.security] (ServerService Thread Pool -- 27) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,175 TRACE [org.wildfly.security] (ServerService Thread Pool -- 9) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,198 INFO [org.wildfly.security] (ServerService Thread Pool -- 26) ELY00001: WildFly Elytron version 1.1.0.Beta52-redhat-1 2017-07-04 08:48:45,175 TRACE [org.wildfly.security] (ServerService Thread Pool -- 10) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,199 TRACE [org.wildfly.security] (ServerService Thread Pool -- 10) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,175 TRACE [org.wildfly.security] (ServerService Thread Pool -- 16) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,175 TRACE [org.wildfly.security] (ServerService Thread Pool -- 12) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,175 TRACE [org.wildfly.security] (ServerService Thread Pool -- 22) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,175 TRACE [org.wildfly.security] (ServerService Thread Pool -- 3) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,174 TRACE [org.wildfly.security] (ServerService Thread Pool -- 14) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,174 TRACE [org.wildfly.security] (ServerService Thread Pool -- 6) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,174 TRACE [org.wildfly.security] (ServerService Thread Pool -- 4) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,201 TRACE [org.wildfly.security] (ServerService Thread Pool -- 4) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,174 TRACE [org.wildfly.security] (ServerService Thread Pool -- 19) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,202 TRACE [org.wildfly.security] (ServerService Thread Pool -- 19) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,203 TRACE [org.wildfly.security] (ServerService Thread Pool -- 28) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,204 TRACE [org.wildfly.security] (ServerService Thread Pool -- 28) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,192 TRACE [org.wildfly.security] (ServerService Thread Pool -- 15) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,206 TRACE [org.wildfly.security] (ServerService Thread Pool -- 29) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,207 TRACE [org.wildfly.security] (ServerService Thread Pool -- 29) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,207 TRACE [org.wildfly.security] (ServerService Thread Pool -- 22) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,210 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 29) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation. 2017-07-04 08:48:45,210 TRACE [org.wildfly.security] (ServerService Thread Pool -- 14) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,215 TRACE [org.wildfly.security] (ServerService Thread Pool -- 3) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,218 TRACE [org.wildfly.security] (ServerService Thread Pool -- 6) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,201 TRACE [org.wildfly.security] (ServerService Thread Pool -- 12) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,219 TRACE [org.wildfly.security] (ServerService Thread Pool -- 9) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,220 TRACE [org.wildfly.security] (ServerService Thread Pool -- 16) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,181 TRACE [org.wildfly.security] (ServerService Thread Pool -- 11) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,181 TRACE [org.wildfly.security] (ServerService Thread Pool -- 13) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,181 TRACE [org.wildfly.security] (ServerService Thread Pool -- 7) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,222 TRACE [org.wildfly.security] (ServerService Thread Pool -- 7) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,179 TRACE [org.wildfly.security] (ServerService Thread Pool -- 24) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,196 TRACE [org.wildfly.security] (ServerService Thread Pool -- 23) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,231 TRACE [org.wildfly.security] (ServerService Thread Pool -- 30) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,232 TRACE [org.wildfly.security] (ServerService Thread Pool -- 30) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,244 TRACE [org.wildfly.security] (ServerService Thread Pool -- 31) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,244 TRACE [org.wildfly.security] (ServerService Thread Pool -- 31) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,332 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http) 2017-07-04 08:48:45,352 INFO [org.xnio] (MSC service thread 1-8) XNIO version 3.5.0.Beta7-redhat-1 2017-07-04 08:48:45,364 INFO [org.xnio.nio] (MSC service thread 1-8) XNIO NIO Implementation Version 3.5.0.Beta7-redhat-1 2017-07-04 08:48:45,430 TRACE [org.wildfly.security] (ServerService Thread Pool -- 32) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,430 TRACE [org.wildfly.security] (ServerService Thread Pool -- 32) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,441 TRACE [org.wildfly.security] (ServerService Thread Pool -- 34) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,442 INFO [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 5.0.0.Beta25-redhat-1 2017-07-04 08:48:45,444 TRACE [org.wildfly.security] (ServerService Thread Pool -- 34) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,452 TRACE [org.wildfly.security] (ServerService Thread Pool -- 35) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,453 TRACE [org.wildfly.security] (ServerService Thread Pool -- 35) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,458 TRACE [org.wildfly.security] (ServerService Thread Pool -- 36) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,459 TRACE [org.wildfly.security] (ServerService Thread Pool -- 36) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,463 TRACE [org.wildfly.security] (ServerService Thread Pool -- 37) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,464 TRACE [org.wildfly.security] (ServerService Thread Pool -- 37) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,475 TRACE [org.wildfly.security] (ServerService Thread Pool -- 38) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,475 TRACE [org.wildfly.security] (ServerService Thread Pool -- 38) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,485 TRACE [org.wildfly.security] (ServerService Thread Pool -- 39) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,485 TRACE [org.wildfly.security] (ServerService Thread Pool -- 39) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,496 TRACE [org.wildfly.security] (ServerService Thread Pool -- 40) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,497 TRACE [org.wildfly.security] (ServerService Thread Pool -- 40) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,502 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 36) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4) 2017-07-04 08:48:45,507 TRACE [org.wildfly.security] (ServerService Thread Pool -- 41) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,508 TRACE [org.wildfly.security] (ServerService Thread Pool -- 41) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,509 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 40) WFLYIO001: Worker 'default' has auto-configured to 8 core threads with 64 task threads based on your 4 available processors 2017-07-04 08:48:45,515 TRACE [org.wildfly.security] (ServerService Thread Pool -- 42) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,516 TRACE [org.wildfly.security] (ServerService Thread Pool -- 42) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,517 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 41) WFLYCLINF0001: Activating Infinispan subsystem. 2017-07-04 08:48:45,522 INFO [org.jboss.as.jaxrs] (ServerService Thread Pool -- 42) WFLYRS0016: RESTEasy version 3.0.23.Final-redhat-1 2017-07-04 08:48:45,527 TRACE [org.wildfly.security] (ServerService Thread Pool -- 43) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,537 TRACE [org.wildfly.security] (ServerService Thread Pool -- 43) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,537 TRACE [org.wildfly.security] (ServerService Thread Pool -- 45) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,537 TRACE [org.wildfly.security] (ServerService Thread Pool -- 45) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,542 TRACE [org.wildfly.security] (ServerService Thread Pool -- 46) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,542 TRACE [org.wildfly.security] (ServerService Thread Pool -- 46) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,545 TRACE [org.wildfly.security] (ServerService Thread Pool -- 44) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,546 TRACE [org.wildfly.security] (ServerService Thread Pool -- 44) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,550 TRACE [org.wildfly.security] (ServerService Thread Pool -- 47) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,550 TRACE [org.wildfly.security] (ServerService Thread Pool -- 47) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,560 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 47) WFLYJSF0007: Activated the following JSF Implementations: [main] 2017-07-04 08:48:45,563 INFO [org.jboss.as.connector] (MSC service thread 1-7) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.5.Final-redhat-1) 2017-07-04 08:48:45,564 TRACE [org.wildfly.security] (ServerService Thread Pool -- 48) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,564 TRACE [org.wildfly.security] (ServerService Thread Pool -- 48) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,573 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) WFLYJCA0018: Started Driver service with driver-name = h2 2017-07-04 08:48:45,578 TRACE [org.wildfly.security] (ServerService Thread Pool -- 50) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,587 TRACE [org.wildfly.security] (ServerService Thread Pool -- 50) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,607 TRACE [org.wildfly.security] (ServerService Thread Pool -- 49) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,607 TRACE [org.wildfly.security] (ServerService Thread Pool -- 49) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,607 TRACE [org.wildfly.security] (ServerService Thread Pool -- 51) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,608 TRACE [org.wildfly.security] (ServerService Thread Pool -- 51) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,611 TRACE [org.wildfly.security] (ServerService Thread Pool -- 53) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,611 TRACE [org.wildfly.security] (ServerService Thread Pool -- 53) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,613 TRACE [org.wildfly.security] (ServerService Thread Pool -- 54) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,614 TRACE [org.wildfly.security] (ServerService Thread Pool -- 54) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,616 TRACE [org.wildfly.security] (ServerService Thread Pool -- 52) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,616 TRACE [org.wildfly.security] (ServerService Thread Pool -- 52) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,625 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 49) WFLYNAM0001: Activating Naming Subsystem 2017-07-04 08:48:45,653 TRACE [org.wildfly.security] (ServerService Thread Pool -- 55) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,654 TRACE [org.wildfly.security] (ServerService Thread Pool -- 55) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,667 TRACE [org.wildfly.security] (ServerService Thread Pool -- 56) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,668 TRACE [org.wildfly.security] (ServerService Thread Pool -- 56) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,671 TRACE [org.wildfly.security] (ServerService Thread Pool -- 57) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,671 TRACE [org.wildfly.security] (ServerService Thread Pool -- 57) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,698 TRACE [org.wildfly.security] (ServerService Thread Pool -- 59) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,698 TRACE [org.wildfly.security] (ServerService Thread Pool -- 59) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,686 INFO [org.jboss.as.security] (ServerService Thread Pool -- 57) WFLYSEC0002: Activating Security Subsystem 2017-07-04 08:48:45,715 TRACE [org.wildfly.security] (ServerService Thread Pool -- 60) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,715 TRACE [org.wildfly.security] (ServerService Thread Pool -- 60) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,727 TRACE [org.wildfly.security] (ServerService Thread Pool -- 58) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,728 TRACE [org.wildfly.security] (ServerService Thread Pool -- 58) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,728 TRACE [org.wildfly.security] (ServerService Thread Pool -- 61) Building security domain with defaultRealmName Empty. 2017-07-04 08:48:45,729 TRACE [org.wildfly.security] (ServerService Thread Pool -- 61) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,730 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 60) WFLYWS0002: Activating WebServices Extension 2017-07-04 08:48:45,731 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 58) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique. 2017-07-04 08:48:45,739 DEBUG [org.jboss.as.security] (MSC service thread 1-8) Starting SecurityBootstrapService 2017-07-04 08:48:45,740 INFO [org.jboss.as.security] (MSC service thread 1-8) WFLYSEC0001: Current PicketBox version=5.0.2.Final-redhat-1 2017-07-04 08:48:45,740 DEBUG [org.jboss.as.security] (MSC service thread 1-8) Initializing JACC from legacy subsystem. 2017-07-04 08:48:45,742 DEBUG [org.jboss.as.security] (MSC service thread 1-1) Starting JaasConfigurationService 2017-07-04 08:48:45,742 INFO [org.jboss.as.mail.extension] (MSC service thread 1-1) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default] 2017-07-04 08:48:45,743 DEBUG [org.jboss.as.security] (MSC service thread 1-1) Starting SecurityManagementService 2017-07-04 08:48:45,747 INFO [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service 2017-07-04 08:48:45,788 DEBUG [org.jboss.as.security] (MSC service thread 1-1) Starting SubjectFactoryService 2017-07-04 08:48:45,811 TRACE [org.wildfly.security] (MSC service thread 1-3) Building security domain with defaultRealmName ApplicationRealm. 2017-07-04 08:48:45,812 TRACE [org.wildfly.security] (MSC service thread 1-3) The following additional realms were added: [ApplicationRealm, local]. 2017-07-04 08:48:45,813 TRACE [org.wildfly.security] (MSC service thread 1-3) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,822 TRACE [org.wildfly.security] (MSC service thread 1-3) Building security domain with defaultRealmName ManagementRealm. 2017-07-04 08:48:45,823 TRACE [org.wildfly.security] (MSC service thread 1-3) The following additional realms were added: [ManagementRealm, local]. 2017-07-04 08:48:45,823 TRACE [org.wildfly.security] (MSC service thread 1-3) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:45,841 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0003: Undertow 1.4.16.Final-redhat-1 starting 2017-07-04 08:48:45,990 INFO [org.jboss.as.ejb3] (MSC service thread 1-6) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 64 (per class), which is derived from thread worker pool sizing. 2017-07-04 08:48:45,990 INFO [org.jboss.as.ejb3] (MSC service thread 1-1) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 16 (per class), which is derived from the number of CPUs on this host. 2017-07-04 08:48:46,041 DEBUG [org.jboss.as.security] (MSC service thread 1-7) Starting SecurityDomainService(other) 2017-07-04 08:48:46,042 DEBUG [org.jboss.as.security] (MSC service thread 1-7) Creating SDC for domain = other 2017-07-04 08:48:46,048 DEBUG [org.jboss.as.security] (MSC service thread 1-1) Starting SecurityDomainService(jboss-web-policy) 2017-07-04 08:48:46,048 DEBUG [org.jboss.as.security] (MSC service thread 1-1) Creating SDC for domain = jboss-web-policy 2017-07-04 08:48:46,048 DEBUG [org.jboss.as.security] (MSC service thread 1-5) Starting SecurityDomainService(jboss-ejb-policy) 2017-07-04 08:48:46,049 DEBUG [org.jboss.as.security] (MSC service thread 1-5) Creating SDC for domain = jboss-ejb-policy 2017-07-04 08:48:46,057 DEBUG [org.jboss.as.security] (MSC service thread 1-2) Starting SecurityDomainService(jaspitest) 2017-07-04 08:48:46,061 DEBUG [org.jboss.as.security] (MSC service thread 1-3) Starting SecurityDomainService(idp) 2017-07-04 08:48:46,061 DEBUG [org.jboss.as.security] (MSC service thread 1-3) Creating SDC for domain = idp 2017-07-04 08:48:46,062 DEBUG [org.jboss.as.security] (MSC service thread 1-4) Starting SecurityDomainService(sp) 2017-07-04 08:48:46,063 DEBUG [org.jboss.as.security] (MSC service thread 1-4) Creating SDC for domain = sp 2017-07-04 08:48:46,064 DEBUG [org.jboss.as.security] (MSC service thread 1-6) Starting SecurityDomainService(picketlink-sts) 2017-07-04 08:48:46,064 DEBUG [org.jboss.as.security] (MSC service thread 1-6) Creating SDC for domain = picketlink-sts 2017-07-04 08:48:46,075 DEBUG [org.jboss.as.security] (MSC service thread 1-5) Starting SecurityDomainService(simple-SAML2STSLoginModule-config-internal) 2017-07-04 08:48:46,075 DEBUG [org.jboss.as.security] (MSC service thread 1-5) Creating SDC for domain = simple-SAML2STSLoginModule-config-internal 2017-07-04 08:48:46,075 DEBUG [org.jboss.as.security] (MSC service thread 1-6) Starting SecurityDomainService(simple-SAML2STSLoginModule-config-internal-mapping-role) 2017-07-04 08:48:46,075 DEBUG [org.jboss.as.security] (MSC service thread 1-1) Starting SecurityDomainService(simple-SAML2STSLoginModule-config-external) 2017-07-04 08:48:46,076 DEBUG [org.jboss.as.security] (MSC service thread 1-6) Creating SDC for domain = simple-SAML2STSLoginModule-config-internal-mapping-role 2017-07-04 08:48:46,076 DEBUG [org.jboss.as.security] (MSC service thread 1-1) Creating SDC for domain = simple-SAML2STSLoginModule-config-external 2017-07-04 08:48:46,076 DEBUG [org.jboss.as.security] (MSC service thread 1-6) Starting SecurityDomainService(simple-SAML2STSLoginModule-cache-invalidation-false) 2017-07-04 08:48:46,076 DEBUG [org.jboss.as.security] (MSC service thread 1-1) Starting SecurityDomainService(authenticator) 2017-07-04 08:48:46,076 DEBUG [org.jboss.as.security] (MSC service thread 1-6) Creating SDC for domain = simple-SAML2STSLoginModule-cache-invalidation-false 2017-07-04 08:48:46,076 DEBUG [org.jboss.as.security] (MSC service thread 1-1) Creating SDC for domain = authenticator 2017-07-04 08:48:46,076 DEBUG [org.jboss.as.security] (MSC service thread 1-5) Starting SecurityDomainService(simple-SAML2STSLoginModule-cache-invalidation-true) 2017-07-04 08:48:46,076 DEBUG [org.jboss.as.security] (MSC service thread 1-1) Starting SecurityDomainService(localValidationDomain) 2017-07-04 08:48:46,076 DEBUG [org.jboss.as.security] (MSC service thread 1-6) Starting SecurityDomainService(gateway) 2017-07-04 08:48:46,077 DEBUG [org.jboss.as.security] (MSC service thread 1-5) Creating SDC for domain = simple-SAML2STSLoginModule-cache-invalidation-true 2017-07-04 08:48:46,078 DEBUG [org.jboss.as.security] (MSC service thread 1-5) Starting SecurityDomainService(SAML_validator_regex) 2017-07-04 08:48:46,077 DEBUG [org.jboss.as.security] (MSC service thread 1-4) Starting SecurityDomainService(service) 2017-07-04 08:48:46,077 DEBUG [org.jboss.as.security] (MSC service thread 1-1) Creating SDC for domain = localValidationDomain 2017-07-04 08:48:46,077 DEBUG [org.jboss.as.security] (MSC service thread 1-6) Creating SDC for domain = gateway 2017-07-04 08:48:46,077 DEBUG [org.jboss.as.security] (MSC service thread 1-3) Starting SecurityDomainService(SAML_validator) 2017-07-04 08:48:46,077 DEBUG [org.jboss.as.security] (MSC service thread 1-7) Starting SecurityDomainService(SYSTEM_DEFAULT) 2017-07-04 08:48:46,079 DEBUG [org.jboss.as.security] (MSC service thread 1-7) Creating SDC for domain = SYSTEM_DEFAULT 2017-07-04 08:48:46,079 DEBUG [org.jboss.as.security] (MSC service thread 1-4) Creating SDC for domain = service 2017-07-04 08:48:46,079 DEBUG [org.jboss.as.security] (MSC service thread 1-3) Creating SDC for domain = SAML_validator 2017-07-04 08:48:46,081 DEBUG [org.jboss.as.security] (MSC service thread 1-3) Starting SecurityDomainService(SAML_validator_noCert) 2017-07-04 08:48:46,081 DEBUG [org.jboss.as.security] (MSC service thread 1-3) Creating SDC for domain = SAML_validator_noCert 2017-07-04 08:48:46,083 DEBUG [org.jboss.as.security] (MSC service thread 1-3) Starting SecurityDomainService(SYSTEM_DEFAULT_noCert) 2017-07-04 08:48:46,091 DEBUG [org.jboss.as.security] (MSC service thread 1-3) Creating SDC for domain = SYSTEM_DEFAULT_noCert 2017-07-04 08:48:46,089 DEBUG [org.jboss.as.security] (MSC service thread 1-6) Starting SecurityDomainService(SAML_validator_none) 2017-07-04 08:48:46,092 DEBUG [org.jboss.as.security] (MSC service thread 1-6) Creating SDC for domain = SAML_validator_none 2017-07-04 08:48:46,085 TRACE [org.jboss.security] (MSC service thread 1-2) PBOX00226: addAppConfig(dummy), AuthInfo: AppConfigurationEntry[]: [0] LoginModule Class: Dummy ControlFlag: LoginModuleControlFlag: optional Options: 2017-07-04 08:48:46,093 DEBUG [org.jboss.as.security] (MSC service thread 1-2) Creating SDC for domain = jaspitest 2017-07-04 08:48:46,093 DEBUG [org.jboss.as.security] (MSC service thread 1-5) Creating SDC for domain = SAML_validator_regex 2017-07-04 08:48:46,103 DEBUG [org.jboss.as.security] (MSC service thread 1-2) Starting SecurityDomainService(SAML_validator_gzip) 2017-07-04 08:48:46,105 DEBUG [org.jboss.as.security] (MSC service thread 1-2) Creating SDC for domain = SAML_validator_gzip 2017-07-04 08:48:46,109 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 59) WFLYUT0014: Creating file handler for path '/home/okotek/git/tests-picketlink/target/dist/jboss-eap/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]'] 2017-07-04 08:48:46,113 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0012: Started server default-server. 2017-07-04 08:48:46,116 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0018: Host default-host starting 2017-07-04 08:48:46,149 DEBUG [org.jboss.as.ejb3] (ServerService Thread Pool -- 39) Adding EJB @Asynchronous support 2017-07-04 08:48:46,150 DEBUG [org.jboss.as.ejb3] (ServerService Thread Pool -- 39) Configuring timers 2017-07-04 08:48:46,240 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080 2017-07-04 08:48:46,350 INFO [org.jboss.as.ejb3] (MSC service thread 1-5) WFLYEJB0493: EJB subsystem suspension complete 2017-07-04 08:48:46,477 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS] 2017-07-04 08:48:46,487 INFO [org.jboss.as.patching] (MSC service thread 1-3) WFLYPAT0050: JBoss EAP cumulative patch ID is: base, one-off patches include: none 2017-07-04 08:48:46,770 TRACE [org.wildfly.security] (MSC service thread 1-8) Building security domain with defaultRealmName EMPTY. 2017-07-04 08:48:46,771 TRACE [org.wildfly.security] (MSC service thread 1-3) Building security domain with defaultRealmName EMPTY. 2017-07-04 08:48:46,772 TRACE [org.wildfly.security] (MSC service thread 1-3) The following additional realms were added: [LOCAL, DIGEST, EMPTY]. 2017-07-04 08:48:46,772 TRACE [org.wildfly.security] (MSC service thread 1-3) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:46,772 TRACE [org.wildfly.security] (MSC service thread 1-8) The following additional realms were added: [PLAIN, EMPTY]. 2017-07-04 08:48:46,773 TRACE [org.wildfly.security] (MSC service thread 1-8) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:46,767 WARN [org.jboss.as.domain.management.security] (MSC service thread 1-4) WFLYDM0111: Keystore /home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost 2017-07-04 08:48:46,814 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) WFLYDS0013: Started FileSystemDeploymentService for directory /home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/deployments 2017-07-04 08:48:46,853 TRACE [org.wildfly.security] (MSC service thread 1-1) Building security domain with defaultRealmName EMPTY. 2017-07-04 08:48:46,854 TRACE [org.wildfly.security] (MSC service thread 1-1) The following additional realms were added: [LOCAL, DIGEST, EMPTY]. 2017-07-04 08:48:46,865 TRACE [org.wildfly.security] (MSC service thread 1-1) Role mapping: principal [anonymous] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:46,972 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443 2017-07-04 08:48:47,151 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-3) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.6.Final-redhat-1 2017-07-04 08:48:47,236 INFO [org.jboss.ws.common.management] (MSC service thread 1-8) JBWS022052: Starting JBossWS 5.1.8.Final-redhat-1 (Apache CXF 3.1.11.redhat-1) 2017-07-04 08:48:47,505 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server 2017-07-04 08:48:47,509 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management 2017-07-04 08:48:47,510 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990 2017-07-04 08:48:47,510 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: JBoss EAP 7.1.0.Beta1 (WildFly Core 3.0.0.Beta26-redhat-1) started in 4678ms - Started 419 of 637 services (402 services are lazy, passive or on-demand) 2017-07-04 08:48:47,617 TRACE [org.wildfly.security] (management I/O-2) Handling MechanismInformationCallback type='SASL' name='JBOSS-LOCAL-USER' host-name='localhost' protocol='remote' 2017-07-04 08:48:47,626 TRACE [org.wildfly.security] (management I/O-2) Created SaslServer [org.wildfly.security.sasl.util.SecurityIdentitySaslServerFactory$1@7da5992e] for mechanism [JBOSS-LOCAL-USER] 2017-07-04 08:48:47,653 TRACE [org.wildfly.security] (management task-2) Handling NameCallback: authenticationName = $local 2017-07-04 08:48:47,661 TRACE [org.wildfly.security] (management task-2) Principal assigning: [$local], pre-realm rewritten: [$local@ManagementRealm], realm name: [LOCAL], post-realm rewritten: [$local@ManagementRealm], realm rewritten: [$local@ManagementRealm] 2017-07-04 08:48:47,663 TRACE [org.wildfly.security] (management task-2) Role mapping: principal [$local@ManagementRealm] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:47,664 TRACE [org.wildfly.security] (management task-2) Authorizing principal $local. 2017-07-04 08:48:47,665 TRACE [org.wildfly.security] (management task-2) Authorizing against the following attributes: [] => [] 2017-07-04 08:48:47,666 TRACE [org.wildfly.security] (management task-2) Permission mapping: identity [$local@ManagementRealm] with roles [] implies ("org.wildfly.security.auth.permission.LoginPermission" "") = true 2017-07-04 08:48:47,666 TRACE [org.wildfly.security] (management task-2) Authorization succeed 2017-07-04 08:48:47,668 TRACE [org.wildfly.security] (management task-2) RunAs authorization succeed - the same identity 2017-07-04 08:48:47,668 TRACE [org.wildfly.security] (management task-2) Handling AuthorizeCallback: authenticationID = $local authorizationID = $local authorized = true 2017-07-04 08:48:47,669 TRACE [org.wildfly.security] (management task-2) Handling AuthenticationCompleteCallback: succeed 2017-07-04 08:48:47,669 TRACE [org.wildfly.security] (management task-2) Handling SecurityIdentityCallback: identity = SecurityIdentity{principal=$local@ManagementRealm, securityDomain=org.wildfly.security.auth.server.SecurityDomain@7707fbbc, authorizationIdentity=EMPTY, realmInfo=RealmInfo{name='LOCAL', securityRealm=org.jboss.as.domain.management.security.LocalCallbackHandlerService$LocalSecurityRealm@7add44fb}, creationTime=2017-07-04T06:48:47.663Z} 2017-07-04 08:48:47,914 INFO [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0001: Content added at location /home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/data/content/a7/7221cfb95a3c9f84fe4d17bc59f8cab9236a5e/content 2017-07-04 08:48:47,936 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0027: Starting deployment of "ejb-test.jar" (runtime-name: "ejb-test.jar") 2017-07-04 08:48:48,091 WARN [org.jboss.as.dependency.deprecated] (MSC service thread 1-1) WFLYSRV0221: Deployment "deployment.ejb-test.jar" is using a deprecated module ("org.picketlink") which may be removed in future versions without notice. 2017-07-04 08:48:48,092 WARN [org.jboss.as.dependency.deprecated] (MSC service thread 1-1) WFLYSRV0221: Deployment "deployment.ejb-test.jar" is using a deprecated module ("org.picketlink.common") which may be removed in future versions without notice. 2017-07-04 08:48:48,121 DEBUG [org.jboss.as.ejb3] (MSC service thread 1-7) EJB SecuredEjbBean is part of security domain simple-SAML2STSLoginModule-config-external 2017-07-04 08:48:48,144 INFO [org.jboss.weld.deployer] (MSC service thread 1-7) WFLYWELD0003: Processing weld deployment ejb-test.jar 2017-07-04 08:48:48,205 INFO [org.hibernate.validator.internal.util.Version] (MSC service thread 1-7) HV000001: Hibernate Validator 5.3.5.Final-redhat-1 2017-07-04 08:48:48,291 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-7) WFLYEJB0473: JNDI bindings for session bean named 'SecuredEjbBean' in deployment unit 'deployment "ejb-test.jar"' are as follows: java:global/ejb-test/SecuredEjbBean!org.picketlink.test.eap.deployment.sts.client.ejb.SecuredEjb java:app/ejb-test/SecuredEjbBean!org.picketlink.test.eap.deployment.sts.client.ejb.SecuredEjb java:module/SecuredEjbBean!org.picketlink.test.eap.deployment.sts.client.ejb.SecuredEjb java:jboss/exported/ejb-test/SecuredEjbBean!org.picketlink.test.eap.deployment.sts.client.ejb.SecuredEjb java:global/ejb-test/SecuredEjbBean java:app/ejb-test/SecuredEjbBean java:module/SecuredEjbBean 2017-07-04 08:48:48,334 DEBUG [org.jboss.as.ejb3.deployment] (MSC service thread 1-1) Registering EJB client context org.jboss.ejb.client.EJBClientContext@79132f22 for classloader ModuleClassLoader for Module "deployment.ejb-test.jar" from Service Module Loader 2017-07-04 08:48:48,491 INFO [org.jboss.weld.Version] (MSC service thread 1-6) WELD-000900: 2.4.3 (redhat) 2017-07-04 08:48:48,699 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00337: nextState for action getPolicyConfiguration: open 2017-07-04 08:48:48,704 DEBUG [org.jboss.security] (MSC service thread 1-6) PBOX00307: Constructing JBossPolicyConfiguration with contextID ejb-test.jar 2017-07-04 08:48:48,706 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00337: nextState for action getPolicyConfiguration: open 2017-07-04 08:48:48,707 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00312: addToUncheckedPolicy, permission: ("javax.security.jacc.EJBMethodPermission" "SecuredEjbBean" "echoUnchecked,Remote,java.lang.String")[Remote:echoUnchecked(java.lang.String)] 2017-07-04 08:48:48,707 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00337: nextState for action addToUncheckedPolicy: open 2017-07-04 08:48:48,723 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00310: addToRole, permission: ("javax.security.jacc.EJBMethodPermission" "SecuredEjbBean" "echoRoleFromClientNeeded,Remote,java.lang.String")[Remote:echoRoleFromClientNeeded(java.lang.String)] 2017-07-04 08:48:48,723 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00337: nextState for action addToRole: open 2017-07-04 08:48:48,723 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00310: addToRole, permission: ("javax.security.jacc.EJBMethodPermission" "SecuredEjbBean" "echoRoleFromStsNeeded,Remote,java.lang.String")[Remote:echoRoleFromStsNeeded(java.lang.String)] 2017-07-04 08:48:48,724 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00337: nextState for action addToRole: open 2017-07-04 08:48:48,724 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00310: addToRole, permission: ("javax.security.jacc.EJBMethodPermission" "SecuredEjbBean" "echoRoleFromSts2Needed,Remote,java.lang.String")[Remote:echoRoleFromSts2Needed(java.lang.String)] 2017-07-04 08:48:48,724 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00337: nextState for action addToRole: open 2017-07-04 08:48:48,724 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00310: addToRole, permission: [SecuredEjbBean,role-ref=**] 2017-07-04 08:48:48,724 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00337: nextState for action addToRole: open 2017-07-04 08:48:48,724 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00310: addToRole, permission: [SecuredEjbBean,role-ref=RoleFromSts2] 2017-07-04 08:48:48,724 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00337: nextState for action addToRole: open 2017-07-04 08:48:48,724 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00310: addToRole, permission: [SecuredEjbBean,role-ref=RoleFromSts] 2017-07-04 08:48:48,725 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00337: nextState for action addToRole: open 2017-07-04 08:48:48,725 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00310: addToRole, permission: [SecuredEjbBean,role-ref=RoleFromClient] 2017-07-04 08:48:48,725 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00337: nextState for action addToRole: open 2017-07-04 08:48:48,725 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00314: commit, contextID: ejb-test.jar 2017-07-04 08:48:48,725 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00337: nextState for action commit: inService 2017-07-04 08:48:48,868 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 62) WFLYCLINF0002: Started client-mappings cache from ejb container 2017-07-04 08:48:48,933 DEBUG [org.jboss.as.ejb3] (MSC service thread 1-5) Using pool config StrictMaxPoolConfig{name=slsb-strict-max-pool, maxPoolSize=64, timeoutUnit=MINUTES, timeout=5} to create pool for Stateless EJB SecuredEjbBean 2017-07-04 08:48:48,936 TRACE [org.jboss.as.ejb3] (MSC service thread 1-6) Using security domain: simple-SAML2STSLoginModule-config-external for EJB SecuredEjbBean 2017-07-04 08:48:48,940 TRACE [org.jboss.as.ejb3] (MSC service thread 1-6) Using security domain: simple-SAML2STSLoginModule-config-external for EJB SecuredEjbBean 2017-07-04 08:48:48,940 TRACE [org.jboss.as.ejb3] (MSC service thread 1-6) Using security domain: simple-SAML2STSLoginModule-config-external for EJB SecuredEjbBean 2017-07-04 08:48:48,941 TRACE [org.jboss.as.ejb3] (MSC service thread 1-6) Using security domain: simple-SAML2STSLoginModule-config-external for EJB SecuredEjbBean 2017-07-04 08:48:48,941 TRACE [org.jboss.as.ejb3] (MSC service thread 1-6) Using security domain: simple-SAML2STSLoginModule-config-external for EJB SecuredEjbBean 2017-07-04 08:48:48,941 TRACE [org.jboss.as.ejb3] (MSC service thread 1-6) Using security domain: simple-SAML2STSLoginModule-config-external for EJB SecuredEjbBean 2017-07-04 08:48:48,941 TRACE [org.jboss.as.ejb3] (MSC service thread 1-6) Using security domain: simple-SAML2STSLoginModule-config-external for EJB SecuredEjbBean 2017-07-04 08:48:48,941 TRACE [org.jboss.as.ejb3] (MSC service thread 1-6) Using security domain: simple-SAML2STSLoginModule-config-external for EJB SecuredEjbBean 2017-07-04 08:48:49,412 INFO [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0010: Deployed "ejb-test.jar" (runtime-name : "ejb-test.jar") 2017-07-04 08:48:49,613 TRACE [org.wildfly.security] (management I/O-2) Handling MechanismInformationCallback type='SASL' name='JBOSS-LOCAL-USER' host-name='localhost' protocol='remote' 2017-07-04 08:48:49,614 TRACE [org.wildfly.security] (management I/O-2) Created SaslServer [org.wildfly.security.sasl.util.SecurityIdentitySaslServerFactory$1@10a02144] for mechanism [JBOSS-LOCAL-USER] 2017-07-04 08:48:49,620 TRACE [org.wildfly.security] (management task-1) Handling NameCallback: authenticationName = $local 2017-07-04 08:48:49,620 TRACE [org.wildfly.security] (management task-1) Principal assigning: [$local], pre-realm rewritten: [$local@ManagementRealm], realm name: [LOCAL], post-realm rewritten: [$local@ManagementRealm], realm rewritten: [$local@ManagementRealm] 2017-07-04 08:48:49,621 TRACE [org.wildfly.security] (management task-1) Role mapping: principal [$local@ManagementRealm] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:49,621 TRACE [org.wildfly.security] (management task-1) Authorizing principal $local. 2017-07-04 08:48:49,621 TRACE [org.wildfly.security] (management task-1) Authorizing against the following attributes: [] => [] 2017-07-04 08:48:49,621 TRACE [org.wildfly.security] (management task-1) Permission mapping: identity [$local@ManagementRealm] with roles [] implies ("org.wildfly.security.auth.permission.LoginPermission" "") = true 2017-07-04 08:48:49,621 TRACE [org.wildfly.security] (management task-1) Authorization succeed 2017-07-04 08:48:49,621 TRACE [org.wildfly.security] (management task-1) RunAs authorization succeed - the same identity 2017-07-04 08:48:49,621 TRACE [org.wildfly.security] (management task-1) Handling AuthorizeCallback: authenticationID = $local authorizationID = $local authorized = true 2017-07-04 08:48:49,621 TRACE [org.wildfly.security] (management task-1) Handling AuthenticationCompleteCallback: succeed 2017-07-04 08:48:49,621 TRACE [org.wildfly.security] (management task-1) Handling SecurityIdentityCallback: identity = SecurityIdentity{principal=$local@ManagementRealm, securityDomain=org.wildfly.security.auth.server.SecurityDomain@7707fbbc, authorizationIdentity=EMPTY, realmInfo=RealmInfo{name='LOCAL', securityRealm=org.jboss.as.domain.management.security.LocalCallbackHandlerService$LocalSecurityRealm@7add44fb}, creationTime=2017-07-04T06:48:49.621Z} 2017-07-04 08:48:49,802 INFO [org.jboss.as.repository] (management-handler-thread - 3) WFLYDR0001: Content added at location /home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/data/content/71/74142caea6a05f33ec84d9a35f9b8212dea052/content 2017-07-04 08:48:49,806 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "picketlink-sts.war" (runtime-name: "picketlink-sts.war") 2017-07-04 08:48:49,875 WARN [org.jboss.as.dependency.deprecated] (MSC service thread 1-4) WFLYSRV0221: Deployment "deployment.picketlink-sts.war" is using a deprecated module ("org.picketlink") which may be removed in future versions without notice. 2017-07-04 08:48:49,943 DEBUG [org.jboss.as.ejb3.deployment] (MSC service thread 1-3) Registering EJB client context org.jboss.ejb.client.EJBClientContext@79132f22 for classloader ModuleClassLoader for Module "deployment.picketlink-sts.war" from Service Module Loader 2017-07-04 08:48:50,018 INFO [org.jboss.ws.cxf.metadata] (MSC service thread 1-1) JBWS024061: Adding service endpoint metadata: id=PicketLinkSTS address=http://localhost:8080/picketlink-sts implementor=org.picketlink.test.eap.deployment.sts.PicketLinkSTService serviceName={urn:picketlink:identity-federation:sts}PicketLinkSTS portName={urn:picketlink:identity-federation:sts}PicketLinkSTSPort annotationWsdlLocation=WEB-INF/wsdl/PicketLinkSTS.wsdl wsdlLocationOverride=null mtomEnabled=false 2017-07-04 08:48:50,527 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-1) Creating Service {urn:picketlink:identity-federation:sts}PicketLinkSTS from WSDL: WEB-INF/wsdl/PicketLinkSTS.wsdl 2017-07-04 08:48:50,702 INFO [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-1) Setting the server's publish address to be http://localhost:8080/picketlink-sts 2017-07-04 08:48:50,735 INFO [org.jboss.ws.cxf.deployment] (MSC service thread 1-1) JBWS024074: WSDL published to: file:/home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/data/wsdl/picketlink-sts.war/PicketLinkSTS.wsdl 2017-07-04 08:48:50,765 INFO [org.jboss.as.webservices] (MSC service thread 1-7) WFLYWS0003: Starting service jboss.ws.endpoint."picketlink-sts.war".PicketLinkSTS 2017-07-04 08:48:50,765 TRACE [org.jboss.security] (MSC service thread 1-2) PBOX00337: nextState for action getPolicyConfiguration: open 2017-07-04 08:48:50,766 DEBUG [org.jboss.security] (MSC service thread 1-2) PBOX00307: Constructing JBossPolicyConfiguration with contextID picketlink-sts.war 2017-07-04 08:48:50,767 TRACE [org.jboss.security] (MSC service thread 1-2) PBOX00337: nextState for action getPolicyConfiguration: open 2017-07-04 08:48:50,767 DEBUG [org.jboss.as.security] (MSC service thread 1-2) Cannot create permissions with 'null' metaData for id=picketlink-sts.war 2017-07-04 08:48:50,767 TRACE [org.jboss.security] (MSC service thread 1-2) PBOX00314: commit, contextID: picketlink-sts.war 2017-07-04 08:48:50,767 TRACE [org.jboss.security] (MSC service thread 1-2) PBOX00337: nextState for action commit: inService 2017-07-04 08:48:50,897 INFO [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 23) Initializing Mojarra 2.2.13.SP3 for context '/picketlink-sts' 2017-07-04 08:48:51,321 TRACE [org.jboss.security] (ServerService Thread Pool -- 23) PBOX00354: Setting security roles ThreadLocal: null 2017-07-04 08:48:51,324 TRACE [org.jboss.security] (ServerService Thread Pool -- 23) PBOX00354: Setting security roles ThreadLocal: null 2017-07-04 08:48:51,324 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 23) WFLYUT0021: Registered web context: '/picketlink-sts' for server 'default-server' 2017-07-04 08:48:51,325 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00337: nextState for action getPolicyConfiguration: open 2017-07-04 08:48:51,327 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00310: addToRole, permission: ("javax.security.jacc.WebResourcePermission" "/*") 2017-07-04 08:48:51,327 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00337: nextState for action addToRole: open 2017-07-04 08:48:51,327 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00310: addToRole, permission: ("javax.security.jacc.WebResourcePermission" "/*") 2017-07-04 08:48:51,327 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00337: nextState for action addToRole: open 2017-07-04 08:48:51,328 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00312: addToUncheckedPolicy, permission: ("javax.security.jacc.WebUserDataPermission" "/*") 2017-07-04 08:48:51,328 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00337: nextState for action addToUncheckedPolicy: open 2017-07-04 08:48:51,328 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00312: addToUncheckedPolicy, permission: ("javax.security.jacc.WebUserDataPermission" "/*") 2017-07-04 08:48:51,328 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00337: nextState for action addToUncheckedPolicy: open 2017-07-04 08:48:51,328 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00310: addToRole, permission: ("javax.security.jacc.WebRoleRefPermission" "PicketLinkSTS" "**") 2017-07-04 08:48:51,328 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00337: nextState for action addToRole: open 2017-07-04 08:48:51,329 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00310: addToRole, permission: ("javax.security.jacc.WebRoleRefPermission" "PicketLinkSTS" "RoleFromSts2") 2017-07-04 08:48:51,329 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00337: nextState for action addToRole: open 2017-07-04 08:48:51,329 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00310: addToRole, permission: ("javax.security.jacc.WebRoleRefPermission" "PicketLinkSTS" "RoleFromSts") 2017-07-04 08:48:51,329 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00337: nextState for action addToRole: open 2017-07-04 08:48:51,329 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00310: addToRole, permission: ("javax.security.jacc.WebRoleRefPermission" "" "**") 2017-07-04 08:48:51,329 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00337: nextState for action addToRole: open 2017-07-04 08:48:51,329 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00310: addToRole, permission: ("javax.security.jacc.WebRoleRefPermission" "" "RoleFromSts2") 2017-07-04 08:48:51,329 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00337: nextState for action addToRole: open 2017-07-04 08:48:51,329 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00310: addToRole, permission: ("javax.security.jacc.WebRoleRefPermission" "" "RoleFromSts") 2017-07-04 08:48:51,329 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00337: nextState for action addToRole: open 2017-07-04 08:48:51,329 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00314: commit, contextID: picketlink-sts.war 2017-07-04 08:48:51,329 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00337: nextState for action commit: inService 2017-07-04 08:48:51,366 INFO [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0010: Deployed "picketlink-sts.war" (runtime-name : "picketlink-sts.war") 2017-07-04 08:48:51,830 TRACE [org.jboss.security] (default task-1) PBOX00200: Begin isValid, principal: org.wildfly.extension.undertow.security.AccountImpl$AccountPrincipal@4e39db6, cache entry: null 2017-07-04 08:48:51,833 TRACE [org.jboss.security] (default task-1) PBOX00209: defaultLogin, principal: org.wildfly.extension.undertow.security.AccountImpl$AccountPrincipal@4e39db6 2017-07-04 08:48:51,834 TRACE [org.jboss.security] (default task-1) PBOX00221: Begin getAppConfigurationEntry(picketlink-sts), size: 21 2017-07-04 08:48:51,835 TRACE [org.jboss.security] (default task-1) PBOX00224: End getAppConfigurationEntry(picketlink-sts), AuthInfo: AppConfigurationEntry[]: [0] LoginModule Class: org.jboss.security.auth.spi.UsersRolesLoginModule ControlFlag: LoginModuleControlFlag: required Options: name=rolesProperties, value=roles.properties name=usersProperties, value=users.properties 2017-07-04 08:48:51,839 TRACE [org.jboss.security] (default task-1) PBOX00236: Begin initialize method 2017-07-04 08:48:51,864 DEBUG [org.jboss.security] (default task-1) PBOX00287: Failed to open properties file from URL: java.net.MalformedURLException: no protocol: defaultUsers.properties at java.net.URL.(URL.java:593) at java.net.URL.(URL.java:490) at java.net.URL.(URL.java:439) at org.jboss.security.auth.spi.Util.loadProperties(Util.java:187) at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:205) at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:219) at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:146) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:736) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) at javax.security.auth.login.LoginContext.login(LoginContext.java:587) at org.jboss.security.authentication.JBossCachedAuthenticationManager.defaultLogin(JBossCachedAuthenticationManager.java:406) at org.jboss.security.authentication.JBossCachedAuthenticationManager.proceedWithJaasLogin(JBossCachedAuthenticationManager.java:345) at org.jboss.security.authentication.JBossCachedAuthenticationManager.authenticate(JBossCachedAuthenticationManager.java:323) at org.jboss.security.authentication.JBossCachedAuthenticationManager.isValid(JBossCachedAuthenticationManager.java:146) at org.wildfly.extension.undertow.security.JAASIdentityManagerImpl.verifyCredential(JAASIdentityManagerImpl.java:123) at org.wildfly.extension.undertow.security.JAASIdentityManagerImpl.verify(JAASIdentityManagerImpl.java:94) at io.undertow.security.impl.BasicAuthenticationMechanism.authenticate(BasicAuthenticationMechanism.java:167) at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:245) at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:263) at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.access$100(SecurityContextImpl.java:231) at io.undertow.security.impl.SecurityContextImpl.attemptAuthentication(SecurityContextImpl.java:125) at io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:99) at io.undertow.security.impl.SecurityContextImpl.authenticate(SecurityContextImpl.java:92) at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:55) at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53) at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59) at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704) at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) at io.undertow.server.Connectors.executeRootHandler(Connectors.java:211) at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:809) 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:748) 2017-07-04 08:48:51,875 TRACE [org.jboss.security] (default task-1) PBOX00288: Properties file users.properties loaded, users: [admin, UserWithoutStsRole, UserA, UserD, UserWithoutRoles, UserC, UserB] 2017-07-04 08:48:51,882 DEBUG [org.jboss.security] (default task-1) PBOX00287: Failed to open properties file from URL: java.net.MalformedURLException: no protocol: defaultRoles.properties at java.net.URL.(URL.java:593) at java.net.URL.(URL.java:490) at java.net.URL.(URL.java:439) at org.jboss.security.auth.spi.Util.loadProperties(Util.java:187) at org.jboss.security.auth.spi.UsersRolesLoginModule.loadRoles(UsersRolesLoginModule.java:231) at org.jboss.security.auth.spi.UsersRolesLoginModule.createRoles(UsersRolesLoginModule.java:245) at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:147) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:736) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) at javax.security.auth.login.LoginContext.login(LoginContext.java:587) at org.jboss.security.authentication.JBossCachedAuthenticationManager.defaultLogin(JBossCachedAuthenticationManager.java:406) at org.jboss.security.authentication.JBossCachedAuthenticationManager.proceedWithJaasLogin(JBossCachedAuthenticationManager.java:345) at org.jboss.security.authentication.JBossCachedAuthenticationManager.authenticate(JBossCachedAuthenticationManager.java:323) at org.jboss.security.authentication.JBossCachedAuthenticationManager.isValid(JBossCachedAuthenticationManager.java:146) at org.wildfly.extension.undertow.security.JAASIdentityManagerImpl.verifyCredential(JAASIdentityManagerImpl.java:123) at org.wildfly.extension.undertow.security.JAASIdentityManagerImpl.verify(JAASIdentityManagerImpl.java:94) at io.undertow.security.impl.BasicAuthenticationMechanism.authenticate(BasicAuthenticationMechanism.java:167) at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:245) at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:263) at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.access$100(SecurityContextImpl.java:231) at io.undertow.security.impl.SecurityContextImpl.attemptAuthentication(SecurityContextImpl.java:125) at io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:99) at io.undertow.security.impl.SecurityContextImpl.authenticate(SecurityContextImpl.java:92) at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:55) at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53) at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59) at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704) at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) at io.undertow.server.Connectors.executeRootHandler(Connectors.java:211) at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:809) 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:748) 2017-07-04 08:48:51,927 TRACE [org.jboss.security] (default task-1) PBOX00288: Properties file roles.properties loaded, users: [admin, UserA, UserD, UserC, UserB] 2017-07-04 08:48:51,928 TRACE [org.jboss.security] (default task-1) PBOX00240: Begin login method 2017-07-04 08:48:51,942 TRACE [org.jboss.security] (default task-1) PBOX00241: End login method, isValid: true 2017-07-04 08:48:51,942 TRACE [org.jboss.security] (default task-1) PBOX00242: Begin commit method, overall result: true 2017-07-04 08:48:51,943 TRACE [org.jboss.security] (default task-1) PBOX00285: Adding role RoleFromSts to group Roles 2017-07-04 08:48:51,946 TRACE [org.jboss.security] (default task-1) PBOX00210: defaultLogin, login context: javax.security.auth.login.LoginContext@34c1b38c, subject: Subject(602466284).principals=org.jboss.security.SimplePrincipal@437026254(UserA)org.jboss.security.SimpleGroup@729871889(Roles(members:RoleFromSts))org.jboss.security.SimpleGroup@729871889(CallerPrincipal(members:UserA)) 2017-07-04 08:48:51,948 TRACE [org.jboss.security] (default task-1) PBOX00207: updateCache, input subject: Subject(602466284).principals=org.jboss.security.SimplePrincipal@437026254(UserA)org.jboss.security.SimpleGroup@729871889(Roles(members:RoleFromSts))org.jboss.security.SimpleGroup@729871889(CallerPrincipal(members:UserA)), cached subject: Subject(674164102).principals=org.jboss.security.SimplePrincipal@437026254(UserA)org.jboss.security.SimpleGroup@729871889(Roles(members:RoleFromSts))org.jboss.security.SimpleGroup@729871889(CallerPrincipal(members:UserA)) 2017-07-04 08:48:51,950 TRACE [org.jboss.security] (default task-1) PBOX00208: Inserted cache info: org.jboss.security.authentication.JBossCachedAuthenticationManager$DomainInfo@25d42d55 2017-07-04 08:48:51,950 TRACE [org.jboss.security] (default task-1) PBOX00201: End isValid, result = true 2017-07-04 08:48:52,308 INFO [org.picketlink.common] (default task-1) Loading STS configuration 2017-07-04 08:48:52,322 WARN [org.picketlink.common] (default task-1) Security Token registry option not specified: Issued Tokens will not be persisted! 2017-07-04 08:48:52,323 WARN [org.picketlink.common] (default task-1) Security Token registry option not specified: Issued Tokens will not be persisted! 2017-07-04 08:48:52,327 INFO [org.picketlink.common] (default task-1) picketlink-sts.xml configuration file loaded 2017-07-04 08:48:52,329 WARN [org.picketlink.common] (default task-1) Lifetime has not been specified. Using the default timeout value. 2017-07-04 08:48:52,537 TRACE [org.jboss.security] (default task-1) PBOX00354: Setting security roles ThreadLocal: null 2017-07-04 08:48:52,724 TRACE [org.wildfly.security] (default I/O-2) Handling MechanismInformationCallback type='SASL' name='PLAIN' host-name='localhost' protocol='remote' 2017-07-04 08:48:52,726 TRACE [org.wildfly.security] (default I/O-2) Created SaslServer [org.wildfly.security.sasl.util.SecurityIdentitySaslServerFactory$1@229432ff] for mechanism [PLAIN] 2017-07-04 08:48:52,731 TRACE [org.wildfly.security] (default task-2) Handling NameCallback: authenticationName = UserA 2017-07-04 08:48:52,731 TRACE [org.wildfly.security] (default task-2) Principal assigning: [UserA], pre-realm rewritten: [UserA@SAMLRealm], realm name: [PLAIN], post-realm rewritten: [UserA@SAMLRealm], realm rewritten: [UserA@SAMLRealm] 2017-07-04 08:48:52,737 TRACE [org.jboss.security] (default task-2) PBOX00200: Begin isValid, principal: UserA, cache entry: null 2017-07-04 08:48:52,737 TRACE [org.jboss.security] (default task-2) PBOX00209: defaultLogin, principal: UserA 2017-07-04 08:48:52,737 TRACE [org.jboss.security] (default task-2) PBOX00221: Begin getAppConfigurationEntry(simple-SAML2STSLoginModule-config-external), size: 21 2017-07-04 08:48:52,737 TRACE [org.jboss.security] (default task-2) PBOX00224: End getAppConfigurationEntry(simple-SAML2STSLoginModule-config-external), AuthInfo: AppConfigurationEntry[]: [0] LoginModule Class: org.picketlink.identity.federation.bindings.jboss.auth.SAML2STSLoginModule ControlFlag: LoginModuleControlFlag: required Options: name=configFile, value=/home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/configuration/sts-config.properties 2017-07-04 08:48:52,740 TRACE [org.jboss.security] (default task-2) PBOX00236: Begin initialize method 2017-07-04 08:48:52,740 TRACE [org.jboss.security] (default task-2) PBOX00240: Begin login method 2017-07-04 08:48:52,803 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (default task-2) Creating Service {http://org.picketlink.trust/sts/}PicketLinkSTS from class org.apache.cxf.jaxws.support.DummyImpl 2017-07-04 08:48:52,868 TRACE [org.jboss.security] (default task-3) PBOX00200: Begin isValid, principal: org.wildfly.extension.undertow.security.AccountImpl$AccountPrincipal@586034f, cache entry: null 2017-07-04 08:48:52,868 TRACE [org.jboss.security] (default task-3) PBOX00209: defaultLogin, principal: org.wildfly.extension.undertow.security.AccountImpl$AccountPrincipal@586034f 2017-07-04 08:48:52,868 TRACE [org.jboss.security] (default task-3) PBOX00221: Begin getAppConfigurationEntry(picketlink-sts), size: 21 2017-07-04 08:48:52,868 TRACE [org.jboss.security] (default task-3) PBOX00224: End getAppConfigurationEntry(picketlink-sts), AuthInfo: AppConfigurationEntry[]: [0] LoginModule Class: org.jboss.security.auth.spi.UsersRolesLoginModule ControlFlag: LoginModuleControlFlag: required Options: name=rolesProperties, value=roles.properties name=usersProperties, value=users.properties 2017-07-04 08:48:52,868 TRACE [org.jboss.security] (default task-3) PBOX00236: Begin initialize method 2017-07-04 08:48:52,869 DEBUG [org.jboss.security] (default task-3) PBOX00287: Failed to open properties file from URL: java.net.MalformedURLException: no protocol: defaultUsers.properties at java.net.URL.(URL.java:593) at java.net.URL.(URL.java:490) at java.net.URL.(URL.java:439) at org.jboss.security.auth.spi.Util.loadProperties(Util.java:187) at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:205) at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:219) at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:146) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:736) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) at javax.security.auth.login.LoginContext.login(LoginContext.java:587) at org.jboss.security.authentication.JBossCachedAuthenticationManager.defaultLogin(JBossCachedAuthenticationManager.java:406) at org.jboss.security.authentication.JBossCachedAuthenticationManager.proceedWithJaasLogin(JBossCachedAuthenticationManager.java:345) at org.jboss.security.authentication.JBossCachedAuthenticationManager.authenticate(JBossCachedAuthenticationManager.java:323) at org.jboss.security.authentication.JBossCachedAuthenticationManager.isValid(JBossCachedAuthenticationManager.java:146) at org.wildfly.extension.undertow.security.JAASIdentityManagerImpl.verifyCredential(JAASIdentityManagerImpl.java:123) at org.wildfly.extension.undertow.security.JAASIdentityManagerImpl.verify(JAASIdentityManagerImpl.java:94) at io.undertow.security.impl.BasicAuthenticationMechanism.authenticate(BasicAuthenticationMechanism.java:167) at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:245) at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:263) at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.access$100(SecurityContextImpl.java:231) at io.undertow.security.impl.SecurityContextImpl.attemptAuthentication(SecurityContextImpl.java:125) at io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:99) at io.undertow.security.impl.SecurityContextImpl.authenticate(SecurityContextImpl.java:92) at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:55) at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53) at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59) at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704) at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) at io.undertow.server.Connectors.executeRootHandler(Connectors.java:211) at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:809) 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:748) 2017-07-04 08:48:52,870 TRACE [org.jboss.security] (default task-3) PBOX00288: Properties file users.properties loaded, users: [admin, UserWithoutStsRole, UserA, UserD, UserWithoutRoles, UserC, UserB] 2017-07-04 08:48:52,871 DEBUG [org.jboss.security] (default task-3) PBOX00287: Failed to open properties file from URL: java.net.MalformedURLException: no protocol: defaultRoles.properties at java.net.URL.(URL.java:593) at java.net.URL.(URL.java:490) at java.net.URL.(URL.java:439) at org.jboss.security.auth.spi.Util.loadProperties(Util.java:187) at org.jboss.security.auth.spi.UsersRolesLoginModule.loadRoles(UsersRolesLoginModule.java:231) at org.jboss.security.auth.spi.UsersRolesLoginModule.createRoles(UsersRolesLoginModule.java:245) at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:147) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:736) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) at javax.security.auth.login.LoginContext.login(LoginContext.java:587) at org.jboss.security.authentication.JBossCachedAuthenticationManager.defaultLogin(JBossCachedAuthenticationManager.java:406) at org.jboss.security.authentication.JBossCachedAuthenticationManager.proceedWithJaasLogin(JBossCachedAuthenticationManager.java:345) at org.jboss.security.authentication.JBossCachedAuthenticationManager.authenticate(JBossCachedAuthenticationManager.java:323) at org.jboss.security.authentication.JBossCachedAuthenticationManager.isValid(JBossCachedAuthenticationManager.java:146) at org.wildfly.extension.undertow.security.JAASIdentityManagerImpl.verifyCredential(JAASIdentityManagerImpl.java:123) at org.wildfly.extension.undertow.security.JAASIdentityManagerImpl.verify(JAASIdentityManagerImpl.java:94) at io.undertow.security.impl.BasicAuthenticationMechanism.authenticate(BasicAuthenticationMechanism.java:167) at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:245) at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:263) at io.undertow.security.impl.SecurityContextImpl$AuthAttempter.access$100(SecurityContextImpl.java:231) at io.undertow.security.impl.SecurityContextImpl.attemptAuthentication(SecurityContextImpl.java:125) at io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:99) at io.undertow.security.impl.SecurityContextImpl.authenticate(SecurityContextImpl.java:92) at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:55) at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53) at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59) at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704) at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1704) at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) at io.undertow.server.Connectors.executeRootHandler(Connectors.java:211) at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:809) 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:748) 2017-07-04 08:48:52,872 TRACE [org.jboss.security] (default task-3) PBOX00288: Properties file roles.properties loaded, users: [admin, UserA, UserD, UserC, UserB] 2017-07-04 08:48:52,872 TRACE [org.jboss.security] (default task-3) PBOX00240: Begin login method 2017-07-04 08:48:52,872 TRACE [org.jboss.security] (default task-3) PBOX00241: End login method, isValid: true 2017-07-04 08:48:52,872 TRACE [org.jboss.security] (default task-3) PBOX00242: Begin commit method, overall result: true 2017-07-04 08:48:52,873 TRACE [org.jboss.security] (default task-3) PBOX00285: Adding role RoleFromSts to group Roles 2017-07-04 08:48:52,873 TRACE [org.jboss.security] (default task-3) PBOX00210: defaultLogin, login context: javax.security.auth.login.LoginContext@a4d34f8, subject: Subject(1330625493).principals=org.jboss.security.SimplePrincipal@437026254(admin)org.jboss.security.SimpleGroup@729871889(Roles(members:RoleFromSts))org.jboss.security.SimpleGroup@729871889(CallerPrincipal(members:admin)) 2017-07-04 08:48:52,873 TRACE [org.jboss.security] (default task-3) PBOX00207: updateCache, input subject: Subject(1330625493).principals=org.jboss.security.SimplePrincipal@437026254(admin)org.jboss.security.SimpleGroup@729871889(Roles(members:RoleFromSts))org.jboss.security.SimpleGroup@729871889(CallerPrincipal(members:admin)), cached subject: Subject(1697440939).principals=org.jboss.security.SimplePrincipal@437026254(admin)org.jboss.security.SimpleGroup@729871889(Roles(members:RoleFromSts))org.jboss.security.SimpleGroup@729871889(CallerPrincipal(members:admin)) 2017-07-04 08:48:52,873 TRACE [org.jboss.security] (default task-3) PBOX00208: Inserted cache info: org.jboss.security.authentication.JBossCachedAuthenticationManager$DomainInfo@7e4ad421 2017-07-04 08:48:52,873 TRACE [org.jboss.security] (default task-3) PBOX00201: End isValid, result = true 2017-07-04 08:48:52,938 TRACE [org.jboss.security] (default task-3) PBOX00354: Setting security roles ThreadLocal: null 2017-07-04 08:48:52,956 TRACE [org.jboss.security] (default task-2) PBOX00242: Begin commit method, overall result: true 2017-07-04 08:48:52,957 TRACE [org.jboss.security] (default task-2) PBOX00210: defaultLogin, login context: javax.security.auth.login.LoginContext@30ac4705, subject: Subject(54759418).principals=org.picketlink.identity.federation.bindings.jboss.subject.PicketLinkPrincipal@33298295(UserA)org.jboss.security.SimpleGroup@729871889(Roles(members:RoleFromSts))org.jboss.security.SimpleGroup@729871889(CallerPrincipal(members:UserA)) 2017-07-04 08:48:52,958 TRACE [org.jboss.security] (default task-2) PBOX00207: updateCache, input subject: Subject(54759418).principals=org.picketlink.identity.federation.bindings.jboss.subject.PicketLinkPrincipal@33298295(UserA)org.jboss.security.SimpleGroup@729871889(Roles(members:RoleFromSts))org.jboss.security.SimpleGroup@729871889(CallerPrincipal(members:UserA)), cached subject: Subject(552642117).principals=org.picketlink.identity.federation.bindings.jboss.subject.PicketLinkPrincipal@33298295(UserA)org.jboss.security.SimpleGroup@729871889(Roles(members:RoleFromSts))org.jboss.security.SimpleGroup@729871889(CallerPrincipal(members:UserA)) 2017-07-04 08:48:52,959 TRACE [org.jboss.security] (default task-2) PBOX00208: Inserted cache info: org.jboss.security.authentication.JBossCachedAuthenticationManager$DomainInfo@41564a83 2017-07-04 08:48:52,959 TRACE [org.jboss.security] (default task-2) PBOX00201: End isValid, result = true 2017-07-04 08:48:52,960 TRACE [org.jboss.security.audit] (default task-2) [Success]principal=UserA;Action=authentication;Source=org.jboss.as.security.service.SimpleSecurityManager; 2017-07-04 08:48:52,967 TRACE [org.wildfly.security] (default task-2) Role mapping: principal [UserA@SAMLRealm] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:52,968 TRACE [org.wildfly.security] (default task-2) Authorizing principal UserA. 2017-07-04 08:48:52,968 TRACE [org.wildfly.security] (default task-2) Authorizing against the following attributes: [GROUPS] => [] 2017-07-04 08:48:52,969 TRACE [org.wildfly.security] (default task-2) Permission mapping: identity [UserA@SAMLRealm] with roles [] implies ("org.wildfly.security.auth.permission.LoginPermission" "") = true 2017-07-04 08:48:52,969 TRACE [org.wildfly.security] (default task-2) Authorization succeed 2017-07-04 08:48:52,969 TRACE [org.wildfly.security] (default task-2) RunAs authorization succeed - the same identity 2017-07-04 08:48:52,970 TRACE [org.wildfly.security] (default task-2) Handling AuthorizeCallback: authenticationID = UserA authorizationID = UserA authorized = true 2017-07-04 08:48:52,970 TRACE [org.wildfly.security] (default task-2) Handling AuthenticationCompleteCallback: succeed 2017-07-04 08:48:52,970 TRACE [org.wildfly.security] (default task-2) Handling SecurityIdentityCallback: identity = SecurityIdentity{principal=UserA@SAMLRealm, securityDomain=org.wildfly.security.auth.server.SecurityDomain@2fe9540d, authorizationIdentity=EMPTY, realmInfo=RealmInfo{name='PLAIN', securityRealm=org.jboss.as.domain.management.security.JaasCallbackHandler$SecurityRealmImpl@bc1a93f}, creationTime=2017-07-04T06:48:52.966Z} 2017-07-04 08:48:53,107 TRACE [org.wildfly.security] (default task-7) Role mapping: principal [UserA@SAMLRealm] -> decoded roles [] -> realm mapped roles [] -> domain mapped roles [] 2017-07-04 08:48:53,109 TRACE [org.jboss.security] (default task-7) PBOX00200: Begin isValid, principal: UserA, cache entry: org.jboss.security.authentication.JBossCachedAuthenticationManager$DomainInfo@41564a83 2017-07-04 08:48:53,109 TRACE [org.jboss.security] (default task-7) PBOX00204: Begin validateCache, domainInfo: org.jboss.security.authentication.JBossCachedAuthenticationManager$DomainInfo@41564a83, credential class: class org.jboss.as.security.remoting.RemotingConnectionCredential 2017-07-04 08:48:53,109 TRACE [org.jboss.security] (default task-7) PBOX00205: End validateCache, result = false 2017-07-04 08:48:53,109 TRACE [org.jboss.security] (default task-7) PBOX00209: defaultLogin, principal: UserA 2017-07-04 08:48:53,109 TRACE [org.jboss.security] (default task-7) PBOX00221: Begin getAppConfigurationEntry(simple-SAML2STSLoginModule-config-external), size: 21 2017-07-04 08:48:53,110 TRACE [org.jboss.security] (default task-7) PBOX00224: End getAppConfigurationEntry(simple-SAML2STSLoginModule-config-external), AuthInfo: AppConfigurationEntry[]: [0] LoginModule Class: org.picketlink.identity.federation.bindings.jboss.auth.SAML2STSLoginModule ControlFlag: LoginModuleControlFlag: required Options: name=configFile, value=/home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/configuration/sts-config.properties 2017-07-04 08:48:53,110 TRACE [org.jboss.security] (default task-7) PBOX00236: Begin initialize method 2017-07-04 08:48:53,110 TRACE [org.jboss.security] (default task-7) PBOX00240: Begin login method 2017-07-04 08:48:53,112 TRACE [org.jboss.security] (default task-7) PBOX00244: Begin abort method, overall result: false 2017-07-04 08:48:53,112 DEBUG [org.jboss.security] (default task-7) PBOX00206: Login failure: javax.security.auth.login.LoginException: Error handling callback. at org.picketlink.common.DefaultPicketLinkLogger.authErrorHandlingCallback(DefaultPicketLinkLogger.java:1729) at org.picketlink.identity.federation.bindings.jboss.auth.SAML2STSCommonLoginModule.login(SAML2STSCommonLoginModule.java:329) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:755) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) at javax.security.auth.login.LoginContext.login(LoginContext.java:587) at org.jboss.security.authentication.JBossCachedAuthenticationManager.defaultLogin(JBossCachedAuthenticationManager.java:406) at org.jboss.security.authentication.JBossCachedAuthenticationManager.proceedWithJaasLogin(JBossCachedAuthenticationManager.java:345) at org.jboss.security.authentication.JBossCachedAuthenticationManager.authenticate(JBossCachedAuthenticationManager.java:323) at org.jboss.security.authentication.JBossCachedAuthenticationManager.isValid(JBossCachedAuthenticationManager.java:146) at org.jboss.as.security.service.SimpleSecurityManager.authenticate(SimpleSecurityManager.java:404) at org.jboss.as.security.service.SimpleSecurityManager.authenticate(SimpleSecurityManager.java:365) at org.jboss.as.ejb3.security.SecurityContextInterceptor$1.run(SecurityContextInterceptor.java:55) at org.jboss.as.ejb3.security.SecurityContextInterceptor$1.run(SecurityContextInterceptor.java:49) at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:97) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240) at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240) at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240) at org.jboss.as.ejb3.deployment.processors.EjbSuspendInterceptor.processInvocation(EjbSuspendInterceptor.java:57) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240) at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240) at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240) at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240) at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:60) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240) at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:256) at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:609) at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:57) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240) at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53) at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.wildfly.security.auth.server.SecurityIdentity.runAsFunctionEx(SecurityIdentity.java:380) at org.jboss.as.ejb3.remote.AssociationImpl.invokeWithIdentity(AssociationImpl.java:479) at org.jboss.as.ejb3.remote.AssociationImpl.invokeMethod(AssociationImpl.java:474) at org.jboss.as.ejb3.remote.AssociationImpl.lambda$receiveInvocationRequest$0(AssociationImpl.java:182) 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:748) Caused by: javax.security.auth.login.LoginException: PL00095: Wrong type:SAML2STSLoginModule: Shared credential is not a SAML credential. Got org.jboss.as.security.remoting.RemotingConnectionCredential at org.picketlink.common.DefaultPicketLinkLogger.authSharedCredentialIsNotSAMLCredential(DefaultPicketLinkLogger.java:1708) at org.picketlink.identity.federation.bindings.jboss.auth.SAML2STSCommonLoginModule.login(SAML2STSCommonLoginModule.java:324) ... 48 more 2017-07-04 08:48:53,113 TRACE [org.jboss.security] (default task-7) PBOX00201: End isValid, result = false 2017-07-04 08:48:53,113 TRACE [org.jboss.security.audit] (default task-7) [Failure]principal=UserA;Action=authentication;Source=org.jboss.as.security.service.SimpleSecurityManager; 2017-07-04 08:48:53,115 TRACE [org.jboss.security] (default task-7) PBOX00354: Setting security roles ThreadLocal: null 2017-07-04 08:48:53,115 ERROR [org.jboss.as.ejb3.invocation] (default task-7) WFLYEJB0034: EJB Invocation failed on component SecuredEjbBean for method public abstract java.lang.String org.picketlink.test.eap.deployment.sts.client.ejb.SecuredEjb.echoRoleFromStsNeeded(java.lang.String): javax.ejb.EJBAccessException: WFLYSEC0027: Invalid User at org.jboss.as.ejb3.security.SecurityContextInterceptor$1.run(SecurityContextInterceptor.java:69) at org.jboss.as.ejb3.security.SecurityContextInterceptor$1.run(SecurityContextInterceptor.java:49) at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:97) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240) at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240) at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240) at org.jboss.as.ejb3.deployment.processors.EjbSuspendInterceptor.processInvocation(EjbSuspendInterceptor.java:57) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240) at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240) at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240) at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240) at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:60) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240) at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:256) at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:609) at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:57) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240) at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53) at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at org.wildfly.security.auth.server.SecurityIdentity.runAsFunctionEx(SecurityIdentity.java:380) at org.jboss.as.ejb3.remote.AssociationImpl.invokeWithIdentity(AssociationImpl.java:479) at org.jboss.as.ejb3.remote.AssociationImpl.invokeMethod(AssociationImpl.java:474) at org.jboss.as.ejb3.remote.AssociationImpl.lambda$receiveInvocationRequest$0(AssociationImpl.java:182) 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:748) 2017-07-04 08:48:53,236 TRACE [org.jboss.security] (MSC service thread 1-8) PBOX00337: nextState for action getPolicyConfiguration: open 2017-07-04 08:48:53,237 TRACE [org.jboss.security] (MSC service thread 1-8) PBOX00315: delete, contextID: ejb-test.jar 2017-07-04 08:48:53,237 TRACE [org.jboss.security] (MSC service thread 1-8) PBOX00337: nextState for action delete: deleted 2017-07-04 08:48:53,240 DEBUG [org.jboss.as.ejb3.deployment] (MSC service thread 1-1) unRegistering EJB client context for classloader ModuleClassLoader for Module "deployment.ejb-test.jar" from Service Module Loader 2017-07-04 08:48:53,301 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 23) WFLYCLINF0003: Stopped client-mappings cache from ejb container 2017-07-04 08:48:53,316 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment ejb-test.jar (runtime-name: ejb-test.jar) in 81ms 2017-07-04 08:48:53,339 INFO [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0002: Content removed from location /home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/data/content/a7/7221cfb95a3c9f84fe4d17bc59f8cab9236a5e/content 2017-07-04 08:48:53,339 INFO [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0009: Undeployed "ejb-test.jar" (runtime-name: "ejb-test.jar") 2017-07-04 08:48:53,347 TRACE [org.jboss.security] (MSC service thread 1-2) PBOX00337: nextState for action getPolicyConfiguration: open 2017-07-04 08:48:53,348 TRACE [org.jboss.security] (MSC service thread 1-2) PBOX00315: delete, contextID: picketlink-sts.war 2017-07-04 08:48:53,348 TRACE [org.jboss.security] (MSC service thread 1-2) PBOX00337: nextState for action delete: deleted 2017-07-04 08:48:53,349 TRACE [org.jboss.security] (MSC service thread 1-8) PBOX00337: nextState for action getPolicyConfiguration: open 2017-07-04 08:48:53,349 TRACE [org.jboss.security] (MSC service thread 1-8) PBOX00315: delete, contextID: picketlink-sts.war 2017-07-04 08:48:53,349 TRACE [org.jboss.security] (MSC service thread 1-8) PBOX00337: nextState for action delete: deleted 2017-07-04 08:48:53,350 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 27) WFLYUT0022: Unregistered web context: '/picketlink-sts' from server 'default-server' 2017-07-04 08:48:53,353 TRACE [org.jboss.security] (ServerService Thread Pool -- 27) PBOX00354: Setting security roles ThreadLocal: null 2017-07-04 08:48:53,358 TRACE [org.jboss.security] (ServerService Thread Pool -- 27) PBOX00354: Setting security roles ThreadLocal: null 2017-07-04 08:48:53,359 INFO [org.jboss.as.webservices] (MSC service thread 1-3) WFLYWS0004: Stopping service jboss.ws.endpoint."picketlink-sts.war".PicketLinkSTS 2017-07-04 08:48:53,359 DEBUG [org.jboss.as.ejb3.deployment] (MSC service thread 1-7) unRegistering EJB client context for classloader ModuleClassLoader for Module "deployment.picketlink-sts.war" from Service Module Loader 2017-07-04 08:48:53,408 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0028: Stopped deployment picketlink-sts.war (runtime-name: picketlink-sts.war) in 60ms 2017-07-04 08:48:53,424 INFO [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0002: Content removed from location /home/okotek/git/tests-picketlink/target/dist/jboss-eap/standalone/data/content/71/74142caea6a05f33ec84d9a35f9b8212dea052/content 2017-07-04 08:48:53,424 INFO [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0009: Undeployed "picketlink-sts.war" (runtime-name: "picketlink-sts.war") 2017-07-04 08:48:53,461 INFO [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0236: Suspending server with no timeout. 2017-07-04 08:48:53,471 INFO [org.jboss.as.ejb3] (management-handler-thread - 3) WFLYEJB0493: EJB subsystem suspension complete 2017-07-04 08:48:53,472 INFO [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown' 2017-07-04 08:48:53,509 DEBUG [org.jboss.as.security] (MSC service thread 1-7) Stopping security domain service SAML_validator_regex 2017-07-04 08:48:53,509 TRACE [org.jboss.security] (MSC service thread 1-7) PBOX00227: removeAppConfig(SAML_validator_regex) 2017-07-04 08:48:53,510 DEBUG [org.jboss.as.security] (MSC service thread 1-8) Stopping security domain service jboss-ejb-policy 2017-07-04 08:48:53,510 TRACE [org.jboss.security] (MSC service thread 1-8) PBOX00227: removeAppConfig(jboss-ejb-policy) 2017-07-04 08:48:53,510 DEBUG [org.jboss.as.security] (MSC service thread 1-8) Stopping security domain service authenticator 2017-07-04 08:48:53,510 TRACE [org.jboss.security] (MSC service thread 1-8) PBOX00227: removeAppConfig(authenticator) 2017-07-04 08:48:53,513 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-7) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS] 2017-07-04 08:48:53,515 DEBUG [org.jboss.as.security] (MSC service thread 1-1) Stopping security domain service simple-SAML2STSLoginModule-config-external 2017-07-04 08:48:53,515 TRACE [org.jboss.security] (MSC service thread 1-1) PBOX00227: removeAppConfig(simple-SAML2STSLoginModule-config-external) 2017-07-04 08:48:53,516 DEBUG [org.jboss.as.security] (MSC service thread 1-1) Stopping security domain service SAML_validator_none 2017-07-04 08:48:53,516 TRACE [org.jboss.security] (MSC service thread 1-1) PBOX00227: removeAppConfig(SAML_validator_none) 2017-07-04 08:48:53,516 DEBUG [org.jboss.as.security] (MSC service thread 1-1) Stopping security domain service simple-SAML2STSLoginModule-cache-invalidation-false 2017-07-04 08:48:53,516 TRACE [org.jboss.security] (MSC service thread 1-1) PBOX00227: removeAppConfig(simple-SAML2STSLoginModule-cache-invalidation-false) 2017-07-04 08:48:53,517 DEBUG [org.jboss.as.security] (MSC service thread 1-5) Stopping security domain service gateway 2017-07-04 08:48:53,517 TRACE [org.jboss.security] (MSC service thread 1-5) PBOX00227: removeAppConfig(gateway) 2017-07-04 08:48:53,517 DEBUG [org.jboss.as.security] (MSC service thread 1-5) Stopping security domain service sp 2017-07-04 08:48:53,517 TRACE [org.jboss.security] (MSC service thread 1-5) PBOX00227: removeAppConfig(sp) 2017-07-04 08:48:53,517 DEBUG [org.jboss.as.security] (MSC service thread 1-5) Stopping security domain service picketlink-sts 2017-07-04 08:48:53,517 TRACE [org.jboss.security] (MSC service thread 1-5) PBOX00227: removeAppConfig(picketlink-sts) 2017-07-04 08:48:53,518 DEBUG [org.jboss.as.security] (MSC service thread 1-5) Stopping security domain service jboss-web-policy 2017-07-04 08:48:53,518 TRACE [org.jboss.security] (MSC service thread 1-5) PBOX00227: removeAppConfig(jboss-web-policy) 2017-07-04 08:48:53,518 DEBUG [org.jboss.as.security] (MSC service thread 1-5) Stopping security domain service SAML_validator_noCert 2017-07-04 08:48:53,518 TRACE [org.jboss.security] (MSC service thread 1-5) PBOX00227: removeAppConfig(SAML_validator_noCert) 2017-07-04 08:48:53,518 DEBUG [org.jboss.as.security] (MSC service thread 1-5) Stopping security domain service idp 2017-07-04 08:48:53,518 TRACE [org.jboss.security] (MSC service thread 1-5) PBOX00227: removeAppConfig(idp) 2017-07-04 08:48:53,518 DEBUG [org.jboss.as.security] (MSC service thread 1-5) Stopping security domain service service 2017-07-04 08:48:53,518 TRACE [org.jboss.security] (MSC service thread 1-5) PBOX00227: removeAppConfig(service) 2017-07-04 08:48:53,522 DEBUG [org.jboss.as.security] (MSC service thread 1-3) Stopping security domain service SAML_validator 2017-07-04 08:48:53,522 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00227: removeAppConfig(SAML_validator) 2017-07-04 08:48:53,522 DEBUG [org.jboss.as.security] (MSC service thread 1-3) Stopping security domain service SAML_validator_gzip 2017-07-04 08:48:53,522 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00227: removeAppConfig(SAML_validator_gzip) 2017-07-04 08:48:53,523 DEBUG [org.jboss.as.security] (MSC service thread 1-3) Stopping security domain service simple-SAML2STSLoginModule-cache-invalidation-true 2017-07-04 08:48:53,523 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00227: removeAppConfig(simple-SAML2STSLoginModule-cache-invalidation-true) 2017-07-04 08:48:53,523 DEBUG [org.jboss.as.security] (MSC service thread 1-3) Stopping security domain service simple-SAML2STSLoginModule-config-internal 2017-07-04 08:48:53,523 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00227: removeAppConfig(simple-SAML2STSLoginModule-config-internal) 2017-07-04 08:48:53,523 DEBUG [org.jboss.as.security] (MSC service thread 1-3) Stopping security domain service SYSTEM_DEFAULT 2017-07-04 08:48:53,523 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00227: removeAppConfig(SYSTEM_DEFAULT) 2017-07-04 08:48:53,523 DEBUG [org.jboss.as.security] (MSC service thread 1-3) Stopping security domain service SYSTEM_DEFAULT_noCert 2017-07-04 08:48:53,523 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00227: removeAppConfig(SYSTEM_DEFAULT_noCert) 2017-07-04 08:48:53,523 DEBUG [org.jboss.as.security] (MSC service thread 1-3) Stopping security domain service jaspitest 2017-07-04 08:48:53,523 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00227: removeAppConfig(jaspitest) 2017-07-04 08:48:53,525 DEBUG [org.jboss.as.security] (MSC service thread 1-3) Stopping security domain service simple-SAML2STSLoginModule-config-internal-mapping-role 2017-07-04 08:48:53,525 TRACE [org.jboss.security] (MSC service thread 1-3) PBOX00227: removeAppConfig(simple-SAML2STSLoginModule-config-internal-mapping-role) 2017-07-04 08:48:53,527 DEBUG [org.jboss.as.security] (MSC service thread 1-7) Stopping security domain service other 2017-07-04 08:48:53,527 TRACE [org.jboss.security] (MSC service thread 1-7) PBOX00227: removeAppConfig(other) 2017-07-04 08:48:53,528 INFO [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0019: Host default-host stopping 2017-07-04 08:48:53,534 DEBUG [org.jboss.as.security] (MSC service thread 1-6) Stopping security domain service localValidationDomain 2017-07-04 08:48:53,534 TRACE [org.jboss.security] (MSC service thread 1-6) PBOX00227: removeAppConfig(localValidationDomain) 2017-07-04 08:48:53,536 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0019: Stopped Driver service with driver-name = h2 2017-07-04 08:48:53,549 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0008: Undertow HTTPS listener https suspending 2017-07-04 08:48:53,558 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to 127.0.0.1:8443 2017-07-04 08:48:53,568 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0008: Undertow HTTP listener default suspending 2017-07-04 08:48:53,575 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 127.0.0.1:8080 2017-07-04 08:48:53,576 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0004: Undertow 1.4.16.Final-redhat-1 stopping 2017-07-04 08:48:53,615 INFO [org.jboss.as] (MSC service thread 1-5) WFLYSRV0050: JBoss EAP 7.1.0.Beta1 (WildFly Core 3.0.0.Beta26-redhat-1) stopped in 64ms