-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial implementation of Moqui SSO.
- Loading branch information
1 parent
41970a7
commit 8ee25e7
Showing
9 changed files
with
825 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://moqui.org/xsd/service-definition-3.xsd"> | ||
|
||
<!-- SSO --> | ||
<service verb="perform" noun="Login" type="java" location="org.moqui.impl.security.AuthenticationFlow" method="performLogin" authenticate="anonymous-all"> | ||
<description> | ||
Performs a login operation on the IdP server. | ||
</description> | ||
<in-parameters> | ||
<parameter name="authFlowId" required="true"/> | ||
<parameter name="returnTo"/> | ||
</in-parameters> | ||
</service> | ||
<service verb="handle" noun="Callback" type="java" location="org.moqui.impl.security.AuthenticationFlow" method="handleCallback" authenticate="anonymous-all"> | ||
<description> | ||
Handles the login callback and logs the user in locally. | ||
</description> | ||
</service> | ||
<service verb="perform" noun="Logout" type="java" location="org.moqui.impl.security.AuthenticationFlow" method="performLogout" authenticate="anonymous-all"> | ||
<description> | ||
Performs a logout operation both locally and on the IdP server. | ||
</description> | ||
<in-parameters> | ||
<parameter name="returnTo"/> | ||
</in-parameters> | ||
</service> | ||
|
||
</services> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.