Package org.jboss.aerogear.security.shiro.model

Examples of org.jboss.aerogear.security.shiro.model.Role


     * @return builder implementation
     */
    public GrantConfiguration roles(String[] roles) {
        list = new HashSet<Role>();
        for (String name : roles) {
            Role role = entityManager.createNamedQuery("Role.findByName", Role.class)
                    .setParameter("name", name)
                    .getSingleResult();
            list.add(role);
        }
        return this;
View Full Code Here

TOP

Related Classes of org.jboss.aerogear.security.shiro.model.Role

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.