Examples of CardIssuerTokenDTO


Examples of org.wso2.carbon.identity.sts.mgt.dto.CardIssuerTokenDTO

            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);
                }
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.