java.lang.SecurityException

Unable to lookup AuthenticationManager using JNDI

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1328

  • via JBoss Issue Tracker by Alessio Soldano, 1 year ago
    Unable to lookup AuthenticationManager using JNDI
  • via JBoss Issue Tracker by Alessio Soldano, 1 year ago
    Unable to lookup AuthenticationManager using JNDI
  • via Oracle Community by Shiry, 11 months ago
    Anonymous attempt to get to a JNDI resource
  • Stack trace

    • java.lang.SecurityException: Unable to lookup AuthenticationManager using JNDI at org.apache.ws.security.processor.UsernameTokenProcessor.handleUsernameToken(UsernameTokenProcessor.java:173)[wss4j-1.5.11.jar:1.5.11] at org.apache.ws.security.processor.UsernameTokenProcessor.handleToken(UsernameTokenProcessor.java:61)[wss4j-1.5.11.jar:1.5.11] at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:328)[wss4j-1.5.11.jar:1.5.11] at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:245)[wss4j-1.5.11.jar:1.5.11] at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:218)[cxf-rt-ws-security.jar:2.3.4-SNAPSHOT] at org.apache.cxf.ws.security.wss4j.AbstractUsernameTokenAuthenticatingInterceptor.handleMessage(AbstractUsernameTokenAuthenticatingInterceptor.java:96)[cxf-rt-ws-security.jar:2.3.4-SNAPSHOT] at org.apache.cxf.ws.security.wss4j.AbstractUsernameTokenAuthenticatingInterceptor.handleMessage(AbstractUsernameTokenAuthenticatingInterceptor.java:67)[cxf-rt-ws-security.jar:2.3.4-SNAPSHOT] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)[cxf-api.jar:2.3.4-SNAPSHOT] at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)[cxf-rt-core.jar:2.3.4-SNAPSHOT] at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:105)[cxf-rt-transports-http.jar:2.3.4-SNAPSHOT] at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:461)[cxf-rt-transports-http.jar:2.3.4-SNAPSHOT] at org.jboss.wsf.stack.cxf.ServletControllerExt.invoke(ServletControllerExt.java:172)[jbossws-cxf-server.jar:4.0.0-SNAPSHOT] at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:57)[jbossws-cxf-server.jar:4.0.0-SNAPSHOT] at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:156)[jbossws-cxf-server.jar:4.0.0-SNAPSHOT] at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:90)[jbossws-cxf-server.jar:4.0.0-SNAPSHOT] at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)[cxf-rt-transports-http.jar:2.3.4-SNAPSHOT] at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103)[cxf-rt-transports-http.jar:2.3.4-SNAPSHOT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)[cxf-rt-transports-http.jar:2.3.4-SNAPSHOT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)[jbossweb-7.0.0.Beta4.jar:7.0.0.Alpha2-SNAPSHOT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)[jbossweb-7.0.0.Beta4.jar:7.0.0.Alpha2-SNAPSHOT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)[jbossweb-7.0.0.Beta4.jar:7.0.0.Alpha2-SNAPSHOT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)[jbossweb-7.0.0.Beta4.jar:7.0.0.Alpha2-SNAPSHOT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)[jbossweb-7.0.0.Beta4.jar:7.0.0.Alpha2-SNAPSHOT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)[jbossweb-7.0.0.Beta4.jar:7.0.0.Alpha2-SNAPSHOT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)[jbossweb-7.0.0.Beta4.jar:7.0.0.Alpha2-SNAPSHOT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)[jbossweb-7.0.0.Beta4.jar:7.0.0.Alpha2-SNAPSHOT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)[jbossweb-7.0.0.Beta4.jar:7.0.0.Alpha2-SNAPSHOT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)[jbossweb-7.0.0.Beta4.jar:7.0.0.Alpha2-SNAPSHOT] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)[jbossweb-7.0.0.Beta4.jar:7.0.0.Alpha2-SNAPSHOT] at java.lang.Thread.run(Thread.java:619)[:1.6.0_21]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.