Class LocalResponseCache


  • @ApplicationScoped
    @Named
    public class LocalResponseCache
    extends Object
    Author:
    Yuriy Zabrovarnyy
    • Field Detail

      • DEFAULT_DISCOVERY_LIFETIME

        public static final int DEFAULT_DISCOVERY_LIFETIME
        See Also:
        Constant Field Values
      • DEFAULT_SECTOR_IDENTIFIER_LIFETIME

        public static final int DEFAULT_SECTOR_IDENTIFIER_LIFETIME
        See Also:
        Constant Field Values
    • Constructor Detail

      • LocalResponseCache

        public LocalResponseCache()
    • Method Detail

      • invalidateDiscoveryCache

        public void invalidateDiscoveryCache()
      • reloadConfigurationTimerEvent

        @Asynchronous
        public void reloadConfigurationTimerEvent​(@Observes
                                                  AuthConfigurationEvent authConfigurationEvent)
      • getSectorRedirectUris

        public List<String> getSectorRedirectUris​(String sectorIdentifierUri)
      • putSectorRedirectUris

        public void putSectorRedirectUris​(String sectorIdentifierUri,
                                          List<String> redirectUris)
      • getDiscoveryResponse

        public org.json.JSONObject getDiscoveryResponse()
      • putDiscoveryResponse

        public void putDiscoveryResponse​(org.json.JSONObject response)