Package org.openengsb.core.usersync.exception

Examples of org.openengsb.core.usersync.exception.AuthenticationException


   
    private void preparePersistenceAccess() {

        if (authenticationContext.getAuthenticatedPrincipal() == null
            || !(authenticationContext.getAuthenticatedPrincipal() instanceof String)) {
            throw new AuthenticationException("A user with DB access must be logged in.");
        }

        currentContext = ContextHolder.get().getCurrentContextId();
        ContextHolder.get().setCurrentContextId("up-context");
    }
View Full Code Here

TOP

Related Classes of org.openengsb.core.usersync.exception.AuthenticationException

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.