javax.security.auth.login.LoginException: java.lang.SecurityException: attemptin g to add an object which is not an instance of java.security.Principal to a Subj ect's Principal Set

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 3004, 1 year ago
java.lang.SecurityException: attemptin g to add an object which is not an instance of java.security.Principal to a Subj ect's Principal Set
via Google Groups by Maciej Zawadzki, 4 months ago
java.lang.SecurityException: attemptin g to add an object which is not an instance of java.security.Principal to a Subj ect's Principal Set
javax.security.auth.login.LoginException: java.lang.SecurityException: attemptin g to add an object which is not an instance of java.security.Principal to a Subj ect's Principal Set
at weblogic.security.auth.Authenticate.authenticate(Authenticate.java:114)
at com.fedex.cc.app.fms.security.FMSLoginModule.login(FMSLoginModule.java:138)
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:324)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:664)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:599)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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