org.apache.cxf.sts
Interface IdentityMapper
- All Known Implementing Classes:
- EHCacheIdentityCache, MemoryIdentityCache
public interface IdentityMapper
This interface defines a pluggable way of mapping an identity from a source realm to a target
realm.
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 PrincipalsourcePrincipal
- the principal in the source realmtargetRealm
- the target realm of the Principal
- Returns:
- the principal in the target realm
Apache CXF