Home > Back-end >  In the single sign-on system User class definitions and references in other systems
In the single sign-on system User class definitions and references in other systems

Time:09-24

Java web development system, there are multiple function modules separately but within the same domain, in order to realize the User single sign-on (sso), but also need to use in other function modules login system defined in the User class and class organizations, such as the Depart (User departments) of these classes, I again to other modules in the direct import of these classes jar package is an error, please advise, how to use these users and other modules used in the organization?

CodePudding user response:

In the pom file under the reference class moudel you need

The ${moudel groupid} & lt;/groupId>
The ${moudel artifactId} & lt;/artifactId>
The ${version} & lt;/version>

CodePudding user response:

Introduced extraction into public module, use maven rely on

CodePudding user response:

Entity class, service and so on should be extracted to public module, need to refer to
  • Related