Class ArchivedJwksService


  • @Named
    public class ArchivedJwksService
    extends Object
    Author:
    Yuriy Z
    • Constructor Detail

      • ArchivedJwksService

        public ArchivedJwksService()
    • Method Detail

      • getArchivedJwkByDn

        public io.jans.as.common.model.common.ArchivedJwk getArchivedJwkByDn​(String dn)
      • requestArchivedKid

        public jakarta.ws.rs.core.Response requestArchivedKid​(String kid)
      • getArchivedJwk

        public io.jans.as.common.model.common.ArchivedJwk getArchivedJwk​(String kid)
      • persist

        public void persist​(io.jans.as.common.model.common.ArchivedJwk entity)
      • merge

        public void merge​(io.jans.as.common.model.common.ArchivedJwk entity)
      • archiveJwk

        public void archiveJwk​(org.json.JSONObject keyAsJson)
      • getLifetimeInSeconds

        public int getLifetimeInSeconds()
      • findRemovedKeys

        public Map<String,​org.json.JSONObject> findRemovedKeys​(org.json.JSONObject existingJwks,
                                                                     org.json.JSONObject newJwks)
      • archiveRemovedKeys

        public void archiveRemovedKeys​(org.json.JSONObject existingJwks,
                                       org.json.JSONObject newJwks)
      • createKidToKeyMap

        public static Map<String,​org.json.JSONObject> createKidToKeyMap​(org.json.JSONObject jwks)