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) |
| Modifier and Type | Method and Description |
|---|---|
String |
authorityIn(String scope)
Returns the naming authority associated a given scope.
|
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 © 2018. All Rights Reserved.