Package org.apache.cxf.sts
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 TypeMethodDescriptionmapPrincipal(String sourceRealm, Principal sourcePrincipal, String targetRealm) Map a principal in the source realm to the target realm
-
Method Details
-
mapPrincipal
Map a principal in the source realm to the target realm- Parameters:
sourceRealm- the source realm of the PrincipalsourcePrincipal- the principal in the source realmtargetRealm- the target realm of the Principal- Returns:
- the principal in the target realm
-