Class AbstractIdentityCache

    • Constructor Detail

      • AbstractIdentityCache

        public AbstractIdentityCache​(IdentityMapper identityMapper)
      • AbstractIdentityCache

        public AbstractIdentityCache​(Bus bus,
                                     IdentityMapper identityMapper)
    • Method Detail

      • mapPrincipal

        public Principal mapPrincipal​(String sourceRealm,
                                      Principal sourcePrincipal,
                                      String targetRealm)
        Description copied from interface: IdentityMapper
        Map a principal in the source realm to the target realm
        Specified by:
        mapPrincipal in interface IdentityMapper
        Parameters:
        sourceRealm - the source realm of the Principal
        sourcePrincipal - the principal in the source realm
        targetRealm - the target realm of the Principal
        Returns:
        the principal in the target realm
      • getBus

        protected Bus getBus()