-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into jans-auth-server-1208-6
# Conflicts: # jans-auth-server/server/src/main/java/io/jans/as/server/authorize/ws/rs/AuthzRequestService.java
- Loading branch information
Showing
18 changed files
with
225 additions
and
178 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
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
34 changes: 0 additions & 34 deletions
34
docker-jans-persistence-loader/templates/gluu-casa/clients.ldif
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
docker-jans-persistence-loader/templates/gluu-casa/configuration.ldif
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
docker-jans-persistence-loader/templates/gluu-casa/scripts.ldif
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
jans-auth-server/common/src/main/java/io/jans/as/common/util/CommonUtils.java
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,21 @@ | ||
package io.jans.as.common.util; | ||
|
||
import com.google.common.base.Strings; | ||
import io.jans.as.common.model.registration.Client; | ||
import io.jans.as.model.util.JwtUtil; | ||
import org.json.JSONObject; | ||
|
||
/** | ||
* @author Yuriy Zabrovarnyy | ||
*/ | ||
public class CommonUtils { | ||
|
||
private CommonUtils() { | ||
} | ||
|
||
public static JSONObject getJwks(Client client) { | ||
return Strings.isNullOrEmpty(client.getJwks()) | ||
? JwtUtil.getJSONWebKeys(client.getJwksUri()) | ||
: new JSONObject(client.getJwks()); | ||
} | ||
} |
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
Oops, something went wrong.