Package org.thechiselgroup.choosel.workbench.client.authentication

Examples of org.thechiselgroup.choosel.workbench.client.authentication.AuthenticationException


        persistenceManagerFactory = pmf;
    }

    public void checkAuthenticated() throws AuthenticationException {
        if (!userService.isUserLoggedIn()) {
            throw new AuthenticationException(
                    "Authentication failed: User not signed in.");
        }
    }
View Full Code Here


    private Long deleteView(Long id, PersistenceManager manager, User user)
            throws ServiceException {
        PersistentView persistentView = getPersistentView(id, manager);
        if (!persistentView.getUserId().equals(user.getUserId())) {
            throw new AuthenticationException(
                    "Authentication failed: Tsk Tsk, no trying to delete others views.  UID should have been "
                            + persistentView.getUserId()
                            + ", but was "
                            + user.getUserId());
        }
View Full Code Here

        this.userService = userService;
    }

    public void checkAuthenticated() throws AuthenticationException {
        if (!userService.isUserLoggedIn()) {
            throw new AuthenticationException(
                    "Authentication failed: User not signed in.");
        }
    }
View Full Code Here

TOP

Related Classes of org.thechiselgroup.choosel.workbench.client.authentication.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.