@Override
    protected String createProcessedClaimType(final Claim requestClaim, final ClaimsParameters parameters) {
        val tokenType = parameters.getTokenRequirements().getTokenType();
        if (WSFederationConstants.WSS_SAML2_TOKEN_TYPE.equalsIgnoreCase(tokenType)) {
            val claimType = requestClaim.getClaimType();
            val idx = claimType.lastIndexOf('/');
            val claimName = claimType.substring(idx + 1).trim();
            LOGGER.debug("Converted full claim type from [{}] to [{}]", claimType, claimName);
            return claimName;
        }
        return requestClaim.getClaimType();
    }
This is {@link CustomNamespaceWSFederationClaimsClaimsHandler}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-ws-sts-api/src/main/java/org/apereo/cas/support/claims/CustomNamespaceWSFederationClaimsClaimsHandler.java