|
@@ -75,7 +75,7 @@ public class JwtAuthorizeEndpoint extends AuthorizeBaseEndpoint{
|
|
|
@CurrentUser UserInfo currentUser){
|
|
@CurrentUser UserInfo currentUser){
|
|
|
ModelAndView modelAndView=new ModelAndView();
|
|
ModelAndView modelAndView=new ModelAndView();
|
|
|
Apps application = getApp(id);
|
|
Apps application = getApp(id);
|
|
|
- AppsJwtDetails jwtDetails = jwtDetailsService.getAppDetails(application.getId() , true);
|
|
|
|
|
|
|
+ AppsJwtDetails jwtDetails = jwtDetailsService.get(application.getId() , true);
|
|
|
_logger.debug("jwtDetails {}",jwtDetails);
|
|
_logger.debug("jwtDetails {}",jwtDetails);
|
|
|
jwtDetails.setAdapter(application.getAdapter());
|
|
jwtDetails.setAdapter(application.getAdapter());
|
|
|
jwtDetails.setIsAdapter(application.getIsAdapter());
|
|
jwtDetails.setIsAdapter(application.getIsAdapter());
|
|
@@ -111,7 +111,7 @@ public class JwtAuthorizeEndpoint extends AuthorizeBaseEndpoint{
|
|
|
HttpServletResponse response,
|
|
HttpServletResponse response,
|
|
|
@PathVariable("appid") String appId,
|
|
@PathVariable("appid") String appId,
|
|
|
@PathVariable String mediaType) {
|
|
@PathVariable String mediaType) {
|
|
|
- AppsJwtDetails jwtDetails = jwtDetailsService.getAppDetails(appId , true);
|
|
|
|
|
|
|
+ AppsJwtDetails jwtDetails = jwtDetailsService.get(appId , true);
|
|
|
if(jwtDetails != null) {
|
|
if(jwtDetails != null) {
|
|
|
String jwkSetString = "";
|
|
String jwkSetString = "";
|
|
|
if(!jwtDetails.getSignature().equalsIgnoreCase("none")) {
|
|
if(!jwtDetails.getSignature().equalsIgnoreCase("none")) {
|