Interface IdentityMapper

All Known Implementing Classes:
AbstractIdentityCache, EHCacheIdentityCache, MemoryIdentityCache

public interface IdentityMapper
This interface defines a pluggable way of mapping an identity from a source realm to a target realm.
  • Method Summary

    Modifier and Type
    Method
    Description
    mapPrincipal(String sourceRealm, Principal sourcePrincipal, String targetRealm)
    Map a principal in the source realm to the target realm
  • Method Details

    • mapPrincipal

      Principal mapPrincipal(String sourceRealm, Principal sourcePrincipal, String targetRealm)
      Map a principal in the source realm to the target realm
      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