Tabnine Logo
RoleManager.findRoles
Code IndexAdd Tabnine to your IDE (free)

How to use
findRoles
method
in
org.picketlink.idm.api.RoleManager

Best Java code snippets using org.picketlink.idm.api.RoleManager.findRoles (Showing top 8 results out of 315)

origin: org.picketlink.idm/picketlink-idm-core

roleQuery.roleType == null)
return identitySession.getRoleManager().findRoles(roleQuery.user, null);
roleQuery.roleType != null)
return identitySession.getRoleManager().findRoles(roleQuery.user, roleQuery.roleType);
roleQuery.roleType == null)
return identitySession.getRoleManager().findRoles(roleQuery.group, null);
roleQuery.roleType != null)
return identitySession.getRoleManager().findRoles(roleQuery.group, roleQuery.roleType);
origin: org.gatein.portal/exo.portal.component.identity

  orgService.flush();
  roles.addAll(getIdentitySession().getRoleManager().findRoles(userName, membershipType));
  roles.addAll(getIdentitySession().getRoleManager().findRoles(userName, MembershipTypeHandler.ANY_MEMBERSHIP_TYPE));
} catch (Exception e) {
  handleException("Identity operation error: ", e);
origin: org.gatein.portal/exo.portal.component.identity

  orgService.flush();
  allRoles = getIdentitySession().getRoleManager().findRoles(userName, membershipType);
} catch (Exception e) {
  handleException("Identity operation error: ", e);
origin: org.gatein.portal/exo.portal.component.identity

  roles = new LinkedList<Role>(getIDMService().getIdentitySession().getRoleManager().findRoles(group, null, crit));
} else if (user != null) {
  roles = new LinkedList<Role>(getIDMService().getIdentitySession().getRoleManager().findRoles(user, null, crit));
origin: org.gatein.portal/exo.portal.component.identity

  roles = getIdentitySession().getRoleManager().findRoles(userName, null);
} catch (Exception e) {
origin: org.gatein.portal/exo.portal.component.identity

  roles = getIdentitySession().getRoleManager().findRoles(userName, null);
} catch (Exception e) {
origin: org.gatein.portal/exo.portal.component.identity

  roles = getIdentitySession().getRoleManager().findRoles(gid, null);
} catch (Exception e) {
origin: org.jboss.seam.security/seam-security

for (Role role : identitySession.getRoleManager().findRoles(u, roleType)) {
  identity.addRole(role.getRoleType().getName(),
      role.getGroup().getName(), role.getGroup().getGroupType());
org.picketlink.idm.apiRoleManagerfindRoles

Javadoc

Find Role objects with a given RoleType name associated with IdentityType for a given key

Popular methods of RoleManager

  • findRoleTypes
    Find RoleType objects for roles associated with a given User and Group
  • getRole
    Create role
  • createRole
    Create role
  • createRoleType
    Create RoleType
  • findGroupsWithRelatedRole
    Find all Groups with which User has a Role association
  • findUserRoleTypes
    Find RoleType objects for roles associated with a given User
  • findUsersWithRelatedRole
    Find all Users with which Group has a Role association
  • getProperties
  • getRoleType
    Get RoleType
  • getRolesCount
    Find Role objects count with a given RoleType associated with a given IdentityType
  • hasRole
    Check if Role is present
  • removeRole
    Remove Role
  • hasRole,
  • removeRole,
  • removeRoleType,
  • setProperties

Popular in Java

  • Start an intent from android
  • requestLocationUpdates (LocationManager)
  • getSupportFragmentManager (FragmentActivity)
  • getContentResolver (Context)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Permission (java.security)
    Legacy security code; do not use.
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Runner (org.openjdk.jmh.runner)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now