Package io.jans.as.server.service
Class LocalResponseCache
- java.lang.Object
-
- io.jans.as.server.service.LocalResponseCache
-
@ApplicationScoped @Named public class LocalResponseCache extends Object
- Author:
- Yuriy Zabrovarnyy
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_DISCOVERY_LIFETIME
static int
DEFAULT_SECTOR_IDENTIFIER_LIFETIME
-
Constructor Summary
Constructors Constructor Description LocalResponseCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.json.JSONObject
getDiscoveryResponse()
List<String>
getSectorRedirectUris(String sectorIdentifierUri)
void
invalidateDiscoveryCache()
void
putDiscoveryResponse(org.json.JSONObject response)
void
putSectorRedirectUris(String sectorIdentifierUri, List<String> redirectUris)
void
reloadConfigurationTimerEvent(AuthConfigurationEvent authConfigurationEvent)
-
-
-
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
-
-
Method Detail
-
invalidateDiscoveryCache
public void invalidateDiscoveryCache()
-
reloadConfigurationTimerEvent
@Asynchronous public void reloadConfigurationTimerEvent(@Observes AuthConfigurationEvent authConfigurationEvent)
-
putSectorRedirectUris
public void putSectorRedirectUris(String sectorIdentifierUri, List<String> redirectUris)
-
getDiscoveryResponse
public org.json.JSONObject getDiscoveryResponse()
-
putDiscoveryResponse
public void putDiscoveryResponse(org.json.JSONObject response)
-
-