Class PassThroughClaimsMapper

  • All Implemented Interfaces:
    ClaimsMapper

    public class PassThroughClaimsMapper
    extends Object
    implements ClaimsMapper
    A test implementation of IdentityMapper.
    • Constructor Detail

      • PassThroughClaimsMapper

        public PassThroughClaimsMapper()
    • Method Detail

      • mapClaims

        public ProcessedClaimCollection mapClaims​(String sourceRealm,
                                                  ProcessedClaimCollection sourceClaims,
                                                  String targetRealm,
                                                  ClaimsParameters parameters)
        Description copied from interface: ClaimsMapper
        Map a collection of claims in the source realm to the target realm
        Specified by:
        mapClaims in interface ClaimsMapper
        Parameters:
        sourceRealm - the source realm of the Principal
        sourceClaims - the claims collection in the source realm
        targetRealm - the target realm of the Principal
        Returns:
        claims collection of the target realm