Examples of SecurityConfigAdmin


Examples of org.wso2.carbon.security.config.SecurityConfigAdmin

    private boolean isRequiredForSecurityScenario(String serviceName, String moduleId) throws ModuleMgtException {

        String[] requiredModules;
        try {
            SecurityConfigAdmin secConfAdmin = new SecurityConfigAdmin(getUserRealm(), getConfigSystemRegistry()
                    ,axisConfig);
            requiredModules = secConfAdmin.getRequiredModules(serviceName, moduleId);
        } catch (Exception e) {
            String msg = "Error occured while getting the security scenarions for the service";
            log.error(msg);
            throw new ModuleMgtException(e, ModuleMgtException.ERROR, ModuleMgtMessageKeys.SEC_SCENARIO_ERROR);
        }
View Full Code Here

Examples of org.wso2.carbon.security.config.SecurityConfigAdmin

        return serviceMetaData;
    }

    private SecurityScenarioData getSecurityScenario(String serviceName) throws AxisFault {
        try {
            return new SecurityConfigAdmin(getUserRealm(),
                                           getConfigSystemRegistry(),
                                           getAxisConfig()).getCurrentScenario(serviceName);
        } catch (SecurityConfigException e) {
            throw new AxisFault("Cannot retrieve security scenario for service", e);
        }
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.