Package org.keycloak.models.sessions.jpa.entities

Examples of org.keycloak.models.sessions.jpa.entities.ClientSessionRoleEntity


    @Override
    public void setRoles(Set<String> roles) {
        if (roles != null) {
            for (String r : roles) {
                ClientSessionRoleEntity roleEntity = new ClientSessionRoleEntity();
                roleEntity.setClientSession(entity);
                roleEntity.setRoleId(r);
                em.persist(roleEntity);

                entity.getRoles().add(roleEntity);
            }
        }
View Full Code Here

TOP

Related Classes of org.keycloak.models.sessions.jpa.entities.ClientSessionRoleEntity

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.