Class DefaultPrincipalAttributesRepositoryCache
java.lang.Object
org.apereo.cas.authentication.principal.cache.DefaultPrincipalAttributesRepositoryCache
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apereo.cas.authentication.principal.PrincipalAttributesRepositoryCache
public class DefaultPrincipalAttributesRepositoryCache
extends Object
implements org.apereo.cas.authentication.principal.PrincipalAttributesRepositoryCache, Closeable
- Since:
- 6.1.0
-
Field Summary
Fields inherited from interface org.apereo.cas.authentication.principal.PrincipalAttributesRepositoryCache
DEFAULT_BEAN_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
fetchAttributes
(org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.principal.RegisteredServicePrincipalAttributesRepository repository, org.apereo.cas.authentication.principal.Principal principal) void
void
putAttributes
(org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.principal.RegisteredServicePrincipalAttributesRepository repository, String id, Map<String, List<Object>> attributes)
-
Constructor Details
-
DefaultPrincipalAttributesRepositoryCache
public DefaultPrincipalAttributesRepositoryCache()
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
invalidate
public void invalidate()- Specified by:
invalidate
in interfaceorg.apereo.cas.authentication.principal.PrincipalAttributesRepositoryCache
-
fetchAttributes
public Map<String,List<Object>> fetchAttributes(org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.principal.RegisteredServicePrincipalAttributesRepository repository, org.apereo.cas.authentication.principal.Principal principal) - Specified by:
fetchAttributes
in interfaceorg.apereo.cas.authentication.principal.PrincipalAttributesRepositoryCache
-
putAttributes
public void putAttributes(org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.principal.RegisteredServicePrincipalAttributesRepository repository, String id, Map<String, List<Object>> attributes) - Specified by:
putAttributes
in interfaceorg.apereo.cas.authentication.principal.PrincipalAttributesRepositoryCache
-