Class 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
    • Field Summary

      • Fields inherited from interface org.apereo.cas.authentication.principal.PrincipalAttributesRepositoryCache

        DEFAULT_BEAN_NAME
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultPrincipalAttributesRepositoryCache

        public DefaultPrincipalAttributesRepositoryCache()
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
      • invalidate

        public void invalidate()
        Invalidate all.
        Specified by:
        invalidate in interface org.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 interface org.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 interface org.apereo.cas.authentication.principal.PrincipalAttributesRepositoryCache