Package org.apache.cxf.sts
Interface IdentityMapper
-
- All Known Implementing Classes:
AbstractIdentityCache,EHCacheIdentityCache,MemoryIdentityCache
public interface IdentityMapperThis interface defines a pluggable way of mapping an identity from a source realm to a target realm.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrincipalmapPrincipal(String sourceRealm, Principal sourcePrincipal, String targetRealm)Map a principal in the source realm to the target realm
-
-
-
Method Detail
-
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
-
-