Package org.apache.cxf.sts.claims
Interface ClaimsMapper
- All Known Implementing Classes:
JexlClaimsMapper,PassThroughClaimsMapper
public interface ClaimsMapper
This interface defines a pluggable way of mapping claims from a source realm to a target
realm.
-
Method Summary
Modifier and TypeMethodDescriptionmapClaims(String sourceRealm, ProcessedClaimCollection sourceClaims, String targetRealm, ClaimsParameters parameters) Map a collection of claims in the source realm to the target realm
-
Method Details
-
mapClaims
ProcessedClaimCollection mapClaims(String sourceRealm, ProcessedClaimCollection sourceClaims, String targetRealm, ClaimsParameters parameters) Map a collection of claims in the source realm to the target realm- Parameters:
sourceRealm- the source realm of the PrincipalsourceClaims- the claims collection in the source realmtargetRealm- the target realm of the Principal- Returns:
- claims collection of the target realm
-