public class CachingSDP extends Object implements ScopedAuthorityProvider
ScopedAuthorityProvider that caches authorities by the associated scopes.
The provider delegates the identification of the authority to an existing ScopedAuthorityProvider.
| Constructor and Description |
|---|
CachingSDP(ScopedAuthorityProvider cached)
Creates an instance for a given
ScopedAuthorityProvider. |
CachingSDP(ScopedAuthorityProvider cached,
int size) |
public CachingSDP(ScopedAuthorityProvider cached)
ScopedAuthorityProvider.cached - the provider.public CachingSDP(ScopedAuthorityProvider cached, int size)
public String authorityIn(String scope)
ScopedAuthorityProviderauthorityIn in interface ScopedAuthorityProviderscope - the scopeCopyright © 2020. All Rights Reserved.