Class DefaultPrincipalAttributesRepositoryCache
- java.lang.Object
-
- org.apereo.cas.authentication.principal.cache.DefaultPrincipalAttributesRepositoryCache
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,org.apereo.cas.authentication.principal.PrincipalAttributesRepositoryCache
public class DefaultPrincipalAttributesRepositoryCache extends java.lang.Object implements org.apereo.cas.authentication.principal.PrincipalAttributesRepositoryCache, java.io.Closeable
- Since:
- 6.1.0
-
-
Constructor Summary
Constructors Constructor Description DefaultPrincipalAttributesRepositoryCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.util.Map<java.lang.String,java.util.List<java.lang.Object>>
fetchAttributes(org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.principal.RegisteredServicePrincipalAttributesRepository repository, org.apereo.cas.authentication.principal.Principal principal)
void
invalidate()
Invalidate all.void
putAttributes(org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.principal.RegisteredServicePrincipalAttributesRepository repository, java.lang.String id, java.util.Map<java.lang.String,java.util.List<java.lang.Object>> attributes)
-
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-
invalidate
public void invalidate()
Invalidate all.- Specified by:
invalidate
in interfaceorg.apereo.cas.authentication.principal.PrincipalAttributesRepositoryCache
-
fetchAttributes
public java.util.Map<java.lang.String,java.util.List<java.lang.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, java.lang.String id, java.util.Map<java.lang.String,java.util.List<java.lang.Object>> attributes)
- Specified by:
putAttributes
in interfaceorg.apereo.cas.authentication.principal.PrincipalAttributesRepositoryCache
-
-