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

  • Creating JSON documents from java classes using gson
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getExternalFilesDir (Context)
  • addToBackStack (FragmentTransaction)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • JFileChooser (javax.swing)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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