-
Bug
-
Resolution: Done
-
Major
-
None
-
None
org.jboss.as.test.integration.naming.ldap.LdapUrlInSearchBaseTestCase#testDir
org.jboss.as.test.integration.naming.ldap.LdapUrlInSearchBaseTestCase#testLdap
./integration-tests.sh -DtestLogToFile=false -Dts.noSmoke -Dts.basic -Dtest=org.jboss.as.test.integration.naming.ldap.LdapUrlInSearchBaseTestCase -Dsecurity.manager
Fail with:
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.net.SocketPermission" "127.0.0.1:10389" "connect,resolve")" in code source "(vfs:/content/ldap-test.war/WEB-INF/classes <no signer certificates>)" of "null") at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:273) at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175) at java.lang.SecurityManager.checkConnect(SecurityManager.java:1051) at org.wildfly.security.manager.WildFlySecurityManager.checkConnect(WildFlySecurityManager.java:407) at java.net.Socket.connect(Socket.java:584) at java.net.Socket.connect(Socket.java:538) at java.net.Socket.<init>(Socket.java:434) at java.net.Socket.<init>(Socket.java:211) at com.sun.jndi.ldap.Connection.createSocket(Connection.java:363) at com.sun.jndi.ldap.Connection.<init>(Connection.java:203) ... 50 more
- blocks
-
WFLY-6542 Fix issues in tests with Security Manager
- Open
- clones
-
JBEAP-4055 LdapUrlInSearchBaseTestCase fails with security manager
- Verified