/forgerock/openidm-v4/openidm-zip/src/main/resources/samples/usecase/script/ |
H A D | defineRoles.js | 4 var roles = [ { 9 roles.push({ 14 return roles;
|
/forgerock/openidm-v4/openidm-ui/openidm-ui-enduser/src/main/js/org/forgerock/openidm/ui/dashboard/ |
H A D | Dashboard.js | 45 var roles = conf.loggedUser.uiroles; 56 this.loadWorkflow(roles, callback); 78 this.loadWorkflow(roles, callback); 84 loadWorkflow: function(roles, callback) { 85 if(_.indexOf(roles, 'ui-admin') !== -1) {
|
/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/roles/ |
H A D | effectiveAssignments.js | 26 * Calculates the effective assignments, based on the effective roles. 28 * In the case of a reconciliation run, the assignments and roles will be pre-loaded into the ReconContext. This script 29 * will first attempt to find the roles and assignments in the ReconContext and if they are not found will issue a read. 38 roles = typeof(reconContext) === "undefined" ? null : reconContext.roles; 52 * If the ReconContext is present it will use the stored values for roles, otherwise it will issue a read request. 58 // First check if roles were loaded in the context (in case of recon) 59 if (roles != null) { 60 for (var index in roles) { 61 var role = roles[inde [all...] |
H A D | onSync-assignments.js | 25 * If shouldSyncUsers then this will call sync on all users of all roles that have the assignment that got sync'ed 35 var roles; 38 roles = openidm.query(resourceName.toString() + '/roles', 40 _.each(roles, function (role) {
|
H A D | onRecon.groovy | 20 * Pre-loads all roles. 37 def roles = openidm.query("managed/role", [ "_queryFilter" : 'true' ], [ "*", "assignments" ]).result 40 reconContext.put("roles", roles)
|
/forgerock/jee-agents-v3.5/jee-agents-jetty/jee-agents-jetty-v7/src/main/java/org/forgerock/agents/jetty/v7/ |
H A D | AgentCredential.java | 35 private Set<String> roles; field in class:AgentCredential 58 roles = authResult.getAttributes(); 66 * Returns the list of roles that the user has. This is actually retrieved during the authentication process. 71 if (roles == null) { 75 return roles;
|
/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/ |
H A D | router-authz.js | 135 i,roles,role; 143 roles = ""; 144 for (i = 0; i < context.security.authorization.roles.length; i++) { 145 role = context.security.authorization.roles[i]; 147 roles = role; 149 roles = roles + "," + role; 155 "taskCandidateGroup": ((typeof roles === "string") ? roles : join(roles, ",")) [all...] |
H A D | policy.js | 141 var i, j, roles, role; 143 roles = context.security.authorization.roles; 147 if (roles) { 148 for (j = 0; j < roles.length; j++) { 149 if (role === roles[j]) {
|
/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/auth/ |
H A D | populateAsManagedUser.js | 32 * "roles": [ "openidm-authorized" ] 69 "roles": managedUser.result[0].authzRoles ? 71 security.authorization.roles.concat( 78 security.authorization.roles
|
/forgerock/jee-agents-v3.5/jee-agents-jboss/jee-agents-jboss-common/src/main/java/com/sun/identity/agents/jboss/v40/ |
H A D | AmJBossLoginModule.java | 64 * which will contain all the roles the user is in. 66 * @return roleSets The list of all the user's roles, inside a 103 // Create the set of roles the user belongs to 104 Set<String> roles = result.getAttributes(); 105 if (roles != null && !roles.isEmpty()) { 106 for (String role : roles) {
|
/forgerock/openidm-v4/openidm-ui/openidm-ui-common/src/main/js/org/forgerock/openidm/ui/common/ |
H A D | UserModel.js | 74 getUIRoles: function (roles) { 83 return _.chain(roles) 85 return _.has(Configuration.globalData.roles, getRoleFromRef(r)); 88 if (Configuration.globalData.roles[getRoleFromRef(r)] === "ui-user") { 91 return Configuration.globalData.roles[getRoleFromRef(r)]; 134 this.uiroles = this.getUIRoles(sessionDetails.authorization.roles);
|
/forgerock/openidm-v4/openidm-util/src/main/java/org/forgerock/openidm/util/ |
H A D | ContextUtil.java | 72 List<String> roles = new ArrayList<String>(); 73 roles.add("system"); 74 authzid.put(SecurityContext.AUTHZID_ROLES, roles);
|
/forgerock/openam/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/user/ |
H A D | UserModel.js | 143 if (!_.has(user, "roles")) { 145 } else if (_.isString(user.roles)) { 146 this.uiroles = user.roles.split(","); 148 this.uiroles = user.roles; 151 if (_.indexOf(user.roles, "ui-user") === -1) { 168 * @param {string|array} roles Roles as either a string or array of roles 169 * @returns {Boolean} Whether this model has any of the roles specified 171 hasRole (roles) { 172 return _.spread(_.partial(_.contains, this.uiroles))(arrayify(roles)); [all...] |
/forgerock/openam-v13/openam-console/src/main/java/com/sun/identity/console/federation/model/ |
H A D | EntityModelImpl.java | 76 * what realm, the roles, and location of each entity. 92 * what realm, the roles, and location of each entity. 114 // get the roles this entity is acting in 145 * what realm, the roles, and location of each entity. 194 * what realm, the roles, and location of each entity. 349 * This is used to determine what 'roles' a particular entity is 354 List roles = new ArrayList(6); 361 roles.add(IDENTITY_PROVIDER); 364 roles.add(SERVICE_PROVIDER); 367 roles [all...] |
/forgerock/openam/openam-console/src/main/java/com/sun/identity/console/federation/model/ |
H A D | EntityModelImpl.java | 76 * what realm, the roles, and location of each entity. 92 * what realm, the roles, and location of each entity. 114 // get the roles this entity is acting in 145 * what realm, the roles, and location of each entity. 194 * what realm, the roles, and location of each entity. 349 * This is used to determine what 'roles' a particular entity is 354 List roles = new ArrayList(6); 361 roles.add(IDENTITY_PROVIDER); 364 roles.add(SERVICE_PROVIDER); 367 roles [all...] |
/forgerock/openam-v13/openam-federation/OpenFM/src/main/java/com/sun/identity/configuration/ |
H A D | ConfigFedMonitoring.java | 310 List roles = new ArrayList(4); 316 roles.add(IDENTITY_PROVIDER); 319 roles.add(SERVICE_PROVIDER); 322 //to handle dual roles specifically for WSFED 323 if (roles.isEmpty()) { 332 roles.add(IDENTITY_PROVIDER); 339 roles.add(SERVICE_PROVIDER); 346 return (roles != null) ? roles : Collections.EMPTY_LIST; 350 * This is used to determine what 'roles' [all...] |
/forgerock/openam/openam-federation/OpenFM/src/main/java/com/sun/identity/configuration/ |
H A D | ConfigFedMonitoring.java | 312 List roles = new ArrayList(4); 318 roles.add(IDENTITY_PROVIDER); 321 roles.add(SERVICE_PROVIDER); 324 //to handle dual roles specifically for WSFED 325 if (roles.isEmpty()) { 334 roles.add(IDENTITY_PROVIDER); 341 roles.add(SERVICE_PROVIDER); 348 return (roles != null) ? roles : Collections.EMPTY_LIST; 352 * This is used to determine what 'roles' [all...] |
/forgerock/openam-v13/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/user/ |
H A D | UserModel.js | 143 if (!_.has(user, "roles")) { 145 } else if (_.isString(user.roles)) { 146 this.uiroles = user.roles.split(","); 148 this.uiroles = user.roles; 151 if (_.indexOf(user.roles, "ui-user") === -1) { 186 * @param {string|array} roles Roles as either a string or array of roles 187 * @returns {Boolean} Whether this model has any of the roles specified 189 hasRole: function (roles) { 190 return _.spread(_.partial(_.contains, this.uiroles))(arrayify(roles)); [all...] |
/forgerock/openidm-v4/openidm-security-jetty/src/main/java/org/forgerock/openidm/http/internal/ |
H A D | JettySecurityConfigurator.java | 73 java.util.List<String> roles = new java.util.ArrayList<String>(); 74 roles.add("openidm-authorized"); 75 //roles.add("*"); 78 authentication, roles, httpContext);
|
/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/workflow/ |
H A D | gettasksview.js | 65 for(i = 0; i < context.security.authorization.roles.length; i++) { 66 if(context.security.authorization.roles[i] === 'openidm-tasks-manager') { 87 roles = context.security.authorization.roles.join(","), 124 "taskCandidateGroup": roles
|
H A D | getprocessesforuser.js | 84 return getProcessesAvailableForUser(processDefinitions, context.security.authorization.roles);
|
/forgerock/openidm-v4/openidm-ui/openidm-ui-admin/src/main/js/org/forgerock/openidm/ui/admin/role/ |
H A D | RoleUsersView.js | 94 if(_.indexOf(this.model.get("roles"), "managed/role/" + _this.data.roleId) > -1) { 182 roles = rowdata.get("roles"), 183 hasRole = _.indexOf(roles, currentRole) > -1, 187 roles = _.reject(roles,function(role) { return role === currentRole; }); 191 roles.push(currentRole); 197 rowdata.set("roles",roles);
|
/forgerock/jee-agents-v3.5/jee-agents-jetty/jee-agents-jetty-v61/src/main/java/com/sun/identity/agents/jetty/v61/ |
H A D | AMJettyUserRealm.java | 111 + " has roles : " + roleList.toString()); 127 + ex.getMessage() + " while fetching roles for user " 171 Set roles = result.getAttributes(); 173 if ((roles != null) && (roles.size() > 0)) { 174 Iterator it = roles.iterator(); 185 " has roles: " + bufRoles.toString());
|
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/ums/ |
H A D | Resource.java | 131 * user's roles. The aggregation will only include from the 'guid' parameter 143 Collection roles = getRoles(); 144 Iterator it = roles.iterator();
|
H A D | User.java | 164 * user's roles. The aggregation will only include from the 'guid' parameter 176 Collection roles = getRoles(); 177 Iterator it = roles.iterator();
|