I am trying to implement the SSO for a web project which will be posted on the weblogic. In such instances, I came to know that user identity can be recovered using the internal class of Weblogic, eg. :
import weblogic.security.Security; ... topic subject = security.getCurrentSubject ();
I believe that a jar containing this "weblogic.security.Security" is in the class of weblogic, but how do I want to compile this project? This dependence is not available from Maven, so there is no way to mark it as "provided".
Is there a common solution to this problem or should I get this jar from the weblogic directory and add it to the class of project?
Thank you
You have to take a note, add it to your local Mewen repository ( Or your organization one, usually a combination or artistic) and set the scope as provided.
See examples of how to deploy your jar in your local Maven repo.
Comments
Post a Comment