Metadatas

This commit is contained in:
MaxKey
2022-02-16 15:33:50 +08:00
parent 370bb8b210
commit fdfcf44ccb
3 changed files with 51 additions and 3 deletions

View File

@@ -155,7 +155,7 @@ public class JwtAuthorizeEndpoint extends AuthorizeBaseEndpoint{
jwkSetString = jwkSetString + "," +jwtDetails.getAlgorithmKey();
}
}
JWKSetKeyStore jwkSetKeyStore = new JWKSetKeyStore("{\"keys\": [" + jwkSetString + "]}");
return PrettyFactory.getJsonPretty().format(

View File

@@ -57,9 +57,9 @@ import io.swagger.v3.oas.annotations.tags.Tag;
@Tag(name = "2-2-SAML v2.0 API文档模块")
@Controller
@RequestMapping(value = { "/metadata/saml20/" })
public class MetadataEndpoint {
public class SamlMetadataEndpoint {
private final static Logger logger = LoggerFactory
.getLogger(MetadataEndpoint.class);
.getLogger(SamlMetadataEndpoint.class);
@Autowired
@Qualifier("keyStoreLoader")