com.sun.identity.saml.common.SAMLException: Wrong configuration for basic authentication.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 807573, 1 year ago
Wrong configuration for basic authentication.
via Oracle Community by 807573, 1 year ago
Wrong configuration for basic authentication.
com.sun.identity.saml.common.SAMLException: Wrong configuration for basic authentication.
at com.sun.identity.saml.SAMLClient.createSOAPReceiverUrl(SAMLClient.java:479)
at com.sun.identity.saml.SAMLClient.artifactQueryHandler(SAMLClient.java:724)
at com.sun.identity.authentication.modules.saml.SAML.processArtifact(SAML.java:357)
at com.sun.identity.authentication.modules.saml.SAML.process(SAML.java:165)
at com.sun.identity.authentication.spi.AMLoginModule.wrapProcess(AMLoginModule.java:723)
at com.sun.identity.authentication.spi.AMLoginModule.login(AMLoginModule.java:783)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.identity.authentication.jaas.LoginContext.invoke(LoginContext.java:215)
at com.sun.identity.authentication.jaas.LoginContext.login(LoginContext.java:132)
at com.sun.identity.authentication.service.AMLoginContext.runLogin(AMLoginContext.java:384)
at com.sun.identity.authentication.server.AuthContextLocal.submitRequirements(AuthContextLocal.java:480)
at com.sun.identity.authentication.AuthContext.submitRequirements(AuthContext.java:764)
at com.sun.identity.saml.common.SAMLUtils.getAuthSubject(SAMLUtils.java:1022)
at com.sun.identity.saml.servlet.SAMLAwareServlet.ArtifactHandler(SAMLAwareServlet.java:346)
at com.sun.identity.saml.servlet.SAMLAwareServlet.doGet(SAMLAwareServlet.java:117)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at com.sun.mobile.filter.AMLController.doFilter(AMLController.java:163)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:221)
at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2072)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.