Package org.apache.syncope.core.connid

Examples of org.apache.syncope.core.connid.ConnObjectUtil


            final Set<String> vAttrsToBeRemoved, final Map<String, AttributeMod> vAttrsToBeUpdated) {

        final List<AbstractAttributable> attributables = new ArrayList<AbstractAttributable>();

        final ConfigurableApplicationContext context = ApplicationContextProvider.getApplicationContext();
        final ConnObjectUtil connObjectUtil = context.getBean(ConnObjectUtil.class);

        switch (mapItem.getIntMappingType().getAttributableType()) {
            case USER:
                if (subject instanceof SyncopeUser) {
                    attributables.add(subject);
                }
                break;

            case ROLE:
                if (subject instanceof SyncopeUser) {
                    for (SyncopeRole role : ((SyncopeUser) subject).getRoles()) {
                        connObjectUtil.retrieveVirAttrValues(role, AttributableUtil.getInstance(role));
                        attributables.add(role);
                    }
                }
                if (subject instanceof SyncopeRole) {
                    attributables.add(subject);
View Full Code Here


            final Set<String> vAttrsToBeRemoved, final Map<String, AttributeMod> vAttrsToBeUpdated) {

        final List<AbstractAttributable> attributables = new ArrayList<AbstractAttributable>();

        final ConfigurableApplicationContext context = ApplicationContextProvider.getApplicationContext();
        final ConnObjectUtil connObjectUtil = context.getBean(ConnObjectUtil.class);

        switch (mapItem.getIntMappingType().getAttributableType()) {
            case USER:
                if (subject instanceof SyncopeUser) {
                    attributables.add(subject);
                }
                break;

            case ROLE:
                if (subject instanceof SyncopeUser) {
                    for (SyncopeRole role : ((SyncopeUser) subject).getRoles()) {
                        connObjectUtil.retrieveVirAttrValues(role, AttributableUtil.getInstance(role));
                        attributables.add(role);
                    }
                }
                if (subject instanceof SyncopeRole) {
                    attributables.add(subject);
View Full Code Here

            final Set<String> vAttrsToBeRemoved, final Map<String, AttributeMod> vAttrsToBeUpdated) {

        final List<AbstractAttributable> attributables = new ArrayList<AbstractAttributable>();

        final ConfigurableApplicationContext context = ApplicationContextProvider.getApplicationContext();
        final ConnObjectUtil connObjectUtil = context.getBean(ConnObjectUtil.class);

        switch (mapItem.getIntMappingType().getAttributableType()) {
            case USER:
                if (subject instanceof SyncopeUser) {
                    attributables.add(subject);
                }
                break;

            case ROLE:
                if (subject instanceof SyncopeUser) {
                    for (SyncopeRole role : ((SyncopeUser) subject).getRoles()) {
                        connObjectUtil.retrieveVirAttrValues(role, AttributableUtil.getInstance(role));
                        attributables.add(role);
                    }
                }
                if (subject instanceof SyncopeRole) {
                    attributables.add(subject);
View Full Code Here

            final Set<String> membVAttrsToBeRemoved, final Map<String, AttributeMod> membVAttrsToBeUpdated) {

        final List<AbstractAttributable> attributables = new ArrayList<AbstractAttributable>();

        final ConfigurableApplicationContext context = ApplicationContextProvider.getApplicationContext();
        final ConnObjectUtil connObjectUtil = context.getBean(ConnObjectUtil.class);

        switch (mapItem.getIntMappingType().getAttributableType()) {
            case USER:
                if (subject instanceof SyncopeUser) {
                    attributables.add(subject);
                }
                break;

            case ROLE:
                if (subject instanceof SyncopeUser) {
                    for (SyncopeRole role : ((SyncopeUser) subject).getRoles()) {
                        connObjectUtil.retrieveVirAttrValues(role, AttributableUtil.getInstance(role));
                        attributables.add(role);
                    }
                }
                if (subject instanceof SyncopeRole) {
                    attributables.add(subject);
View Full Code Here

TOP

Related Classes of org.apache.syncope.core.connid.ConnObjectUtil

Copyright © 2018 www.massapicom. 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.