Apache CXF API

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.


Method Summary
 Principal mapPrincipal(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 Principal
sourcePrincipal - the principal in the source realm
targetRealm - the target realm of the Principal
Returns:
the principal in the target realm

Apache CXF API

Apache CXF