param = dbAmin.getParameter(registry, IdentityConstants.PARAM_SUPPORTED_TOKEN_TYPES);
}
if (param != null && param.getValue() != null) {
tokens = param.getValue().split(",");
CardIssuerTokenDTO token = null;
for (int i = 0; i < tokens.length; i++) {
token = new CardIssuerTokenDTO();
if (tokens[i].trim().length() > 0) {
token.setTokenType(getTokenType(tokens[i]));
token.setSupported(true);
supportedTokens.add(token);
}
}
}
param = dbAmin.getParameter(registry, IdentityConstants.PARAM_NOT_SUPPORTED_TOKEN_TYPES);
if (param != null && param.getValue() != null) {
tokens = param.getValue().split(",");
CardIssuerTokenDTO token = null;
for (int i = 0; i < tokens.length; i++) {
if (tokens[i].trim().length() > 0) {
token = new CardIssuerTokenDTO();
token.setTokenType(getTokenType(tokens[i]));
token.setSupported(false);
supportedTokens.add(token);
}
}
}