| Modifier and Type | Method and Description |
|---|---|
static Attribute |
DefaultAttributeFactory.createAttribute(AttributeSchema attributeSchema,
AbstractAttribute attribute) |
protected static SimpleAttribute |
DefaultAttributeFactory.createSimpleAttribute(AttributeSchema attributeSchema,
SimpleAttribute simpleAttribute)
Once identified that constructing attribute is a simple attribute & related attribute schema is a
SCIMAttributeSchema, perform attribute construction operations specific to Simple Attribute.
|
void |
MultiValuedAttribute.deletePrimitiveValues() |
void |
MultiValuedAttribute.deleteSubAttributes() |
void |
Attribute.deleteSubAttributes() |
void |
SimpleAttribute.deleteSubAttributes() |
void |
ComplexAttribute.deleteSubAttributes() |
Boolean |
SimpleAttribute.getBooleanValue() |
Date |
SimpleAttribute.getDateValue()
Deprecated.
|
Instant |
SimpleAttribute.getInstantValue() |
String |
SimpleAttribute.getStringValue() |
Attribute |
MultiValuedAttribute.getSubAttribute(String attributeName) |
Attribute |
Attribute.getSubAttribute(String attributeName) |
Attribute |
SimpleAttribute.getSubAttribute(String attributeName) |
Attribute |
ComplexAttribute.getSubAttribute(String attributeName)
Retrieve one attribute given the attribute name.
|
void |
ComplexAttribute.setSubAttribute(Attribute subAttribute)
Set a sub attribute of the complex attribute's sub attribute list.
|
void |
SimpleAttribute.updateValue(Object value) |
| Modifier and Type | Method and Description |
|---|---|
AttributeSchema |
SCIMCustomSchemaExtensionBuilder.buildUserCustomSchemaExtension(List<SCIMCustomAttribute> attributes)
Builds Custom Attribute Schema and returns it.
|
void |
SCIMUserSchemaExtensionBuilder.buildUserSchemaExtension(String configFilePath) |
| Constructor and Description |
|---|
ExtensionAttributeSchemaConfig(org.json.JSONObject attributeConfigJSON) |
| Modifier and Type | Method and Description |
|---|---|
ComplexAttribute |
JSONDecoder.buildComplexAttribute(AttributeSchema complexAttributeSchema,
org.json.JSONObject jsonObject) |
MultiValuedAttribute |
JSONDecoder.buildComplexMultiValuedAttribute(AttributeSchema attributeSchema,
org.json.JSONArray attributeValues) |
MultiValuedAttribute |
JSONDecoder.buildPrimitiveMultiValuedAttribute(AttributeSchema attributeSchema,
org.json.JSONArray attributeValues) |
SimpleAttribute |
JSONDecoder.buildSimpleAttribute(AttributeSchema attributeSchema,
Object attributeValue) |
AbstractSCIMObject |
JSONDecoder.decode(String scimResourceString,
SCIMResourceTypeSchema schema) |
AbstractCharonException |
JSONDecoder.decodeCharonException(String scimErrorString)
this method can be used to decode a scim response with the error schema into an
AbstractCharonException |
<T extends AbstractCharonException> |
JSONDecoder.decodeCharonException(String scimErrorString,
Class<T> exceptionType)
this method can be used to decode a scim response with the error schema into an
AbstractCharonException |
<T extends AbstractSCIMObject> |
JSONDecoder.decodeListedResource(String scimResourceString,
ResourceTypeSchema resourceSchema,
Class<T> scimObjectType)
decodes a string that should match the
SCIMConstants.LISTED_RESOURCE_CORE_SCHEMA_URI scheme to
ListedResource object that holds the parsed objects |
<T extends AbstractSCIMObject> |
JSONDecoder.decodeResource(String scimResourceString,
ResourceTypeSchema resourceSchema,
T scimObject)
Decode the resource string sent in the SCIM request payload.
|
String |
JSONEncoder.encodeSCIMObject(SCIMObject scimObject) |
org.json.JSONObject |
JSONEncoder.getSCIMObjectAsJSONObject(SCIMObject scimObject) |
| Modifier and Type | Method and Description |
|---|---|
Group |
UserManager.createGroup(Group group,
Map<String,Boolean> requiredAttributes) |
User |
UserManager.createMe(User user,
Map<String,Boolean> requiredAttributes) |
Role |
RoleManager.createRole(Role role)
Create a role.
|
User |
UserManager.createUser(User user,
Map<String,Boolean> requiredAttributes)
User Manipulation operations.
|
void |
UserManager.deleteGroup(String id) |
void |
UserManager.deleteMe(String userName) |
void |
RoleManager.deleteRole(String id)
Delete the given role.
|
void |
UserManager.deleteUser(String userId) |
default List<Attribute> |
UserManager.getCoreSchema() |
default List<Attribute> |
UserManager.getCustomUserSchemaAttributes()
Returns list of attributes in custom schema.
|
default AttributeSchema |
UserManager.getCustomUserSchemaExtension()
Return Custom schema.
|
default List<Attribute> |
UserManager.getEnterpriseUserSchema()
Retrieve schema of the enterprise user.
|
Group |
UserManager.getGroup(String id,
Map<String,Boolean> requiredAttributes) |
User |
UserManager.getMe(String userName,
Map<String,Boolean> requiredAttributes) |
Role |
RoleManager.getRole(String id,
Map<String,Boolean> requiredAttributes)
Get the role for the given ID.
|
User |
UserManager.getUser(String id,
Map<String,Boolean> requiredAttributes) |
default List<Attribute> |
UserManager.getUserSchema() |
default List<Object> |
UserManager.listGroupsWithGET(Node node,
Integer startIndex,
Integer count,
String sortBy,
String sortOrder,
String domainName,
Map<String,Boolean> requiredAttributes) |
default List<Object> |
UserManager.listGroupsWithGET(Node node,
int startIndex,
int count,
String sortBy,
String sortOrder,
Map<String,Boolean> requiredAttributes)
Deprecated.
|
default List<Object> |
UserManager.listGroupsWithGET(Node node,
int startIndex,
int count,
String sortBy,
String sortOrder,
String domainName,
Map<String,Boolean> requiredAttributes)
Deprecated.
Method does not handle when the count is not specified in the request and when the count specified
is zero. Use
UserManager.listGroupsWithGET(Node, Integer, Integer, String, String,
String, Map) method. |
List<Object> |
UserManager.listGroupsWithPost(SearchRequest searchRequest,
Map<String,Boolean> requiredAttributes) |
List<Object> |
RoleManager.listRolesWithGET(Node node,
Integer startIndex,
Integer count,
String sortBy,
String sortOrder)
List roles with Get.
|
List<Object> |
RoleManager.listRolesWithPost(SearchRequest searchRequest)
List roles with Post.
|
default List<Object> |
UserManager.listUsersWithGET(Node node,
Integer startIndex,
Integer count,
String sortBy,
String sortOrder,
String domainName,
Map<String,Boolean> requiredAttributes)
List users with Get.
|
default List<Object> |
UserManager.listUsersWithGET(Node node,
int startIndex,
int count,
String sortBy,
String sortOrder,
Map<String,Boolean> requiredAttributes)
Deprecated.
|
default List<Object> |
UserManager.listUsersWithGET(Node node,
int startIndex,
int count,
String sortBy,
String sortOrder,
String domainName,
Map<String,Boolean> requiredAttributes)
Deprecated.
Method does not handle when the count is not specified in the request and when the count specified
is zero.
Use
UserManager.listUsersWithGET(Node, Integer, Integer, String, String,
String, Map) method. |
List<Object> |
UserManager.listUsersWithPost(SearchRequest searchRequest,
Map<String,Boolean> requiredAttributes) |
default Group |
UserManager.patchGroup(String groupId,
String currentGroupName,
Map<String,List<PatchOperation>> patchOperations,
Map<String,Boolean> requiredAttributes)
Updates the group via PATCH.
|
default void |
UserManager.updateGroup(Group oldGroup,
Group newGroup)
Updates the group.
|
Group |
UserManager.updateGroup(Group oldGroup,
Group newGroup,
Map<String,Boolean> requiredAttributes) |
User |
UserManager.updateMe(User updatedUser,
Map<String,Boolean> requiredAttributes) |
Role |
RoleManager.updateRole(Role oldRole,
Role newRole)
Update the role.
|
User |
UserManager.updateUser(User updatedUser,
Map<String,Boolean> requiredAttributes) |
default User |
UserManager.updateUser(User updatedUser,
Map<String,Boolean> requiredAttributes,
List<String> allSimpleMultiValuedAttributes)
Identify user claims to be updated and update the user in user store.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractSCIMObject.createMetaAttribute()
crete the meta attribute of the scim object
|
void |
AbstractSCIMObject.deleteSubSubAttribute(String childAttribute,
String parentAttribute,
String grandParentAttribute)
This deletion method is only applicable for extension schema
Deleting a sub attribute of complex attribute is the responsibility of an attribute holder.
|
Date |
AbstractSCIMObject.getCreatedDate()
Deprecated.
|
Date |
AbstractSCIMObject.getLastModified()
Deprecated.
|
String |
User.getPassword()
return the password of the user
|
String |
User.getUserName()
return userName of the user
|
void |
AbstractSCIMObject.setCreatedDate(Date createdDate)
Deprecated.
|
void |
AbstractSCIMObject.setCreatedInstant(Instant created) |
void |
Role.setDisplayName(String displayName)
Set the display name of the role.
|
void |
Group.setDisplayName(String displayName)
set the display name of the group
|
void |
AbstractSCIMObject.setExternalId(String externalId)
Set a String that is an identifier for the resource as defined by the
provisioning client.
|
void |
Role.setGroup(Group group)
Set a group to the role, where user will have three default attributes such as name, value and $ref.
|
void |
User.setGroup(String type,
Group group)
Set the associated groups of the user.
|
void |
User.setGroup(String type,
String value,
String display)
Deprecated.
use
User.setGroup(String type, Group group) instead. |
void |
AbstractSCIMObject.setId(String id)
Set a value for the id attribute.
|
void |
AbstractSCIMObject.setLastModified(Date lastModifiedDate)
Deprecated.
|
void |
AbstractSCIMObject.setLastModifiedInstant(Instant lastModified) |
void |
AbstractSCIMObject.setLocation(String location)
set the location of the meta attribute
|
void |
Group.setMember(String value,
String display)
Deprecated.
use
Group.setMember(User user) instead. |
void |
Group.setMember(String value,
String display,
String ref,
String type) |
void |
Group.setMember(User user)
Set a member to the group, where member will have three default attributes such as name, value and $ref.
|
void |
User.setPassword(String password)
set the password of the user
|
void |
AbstractSCIMObject.setResourceType(String resourceType)
set the resourceType of the meta attribute
|
void |
Group.setRole(Role role)
Set the associated roles of the group.
|
void |
User.setRole(Role role)
Set the associated roles of the user.
|
void |
User.setSchemas(UserManager userManager)
Set the schemas of the user
|
void |
Role.setSystemRole(boolean isSystemRole)
Set the systemRole attribute of the meta attribute.
|
void |
Role.setUser(User user)
Set a user to the role, where user will have three default attributes such as name, value and $ref.
|
void |
User.setUserName(String userName)
set the userName of the user
|
| Modifier and Type | Method and Description |
|---|---|
ListedResource |
GroupResourceManager.createListedResource(List<Object> groups,
int startIndex,
int totalResults) |
protected ListedResource |
UserResourceManager.createListedResource(List<Object> users,
int startIndex,
int totalResults) |
static JSONDecoder |
AbstractResourceManager.getDecoder() |
static JSONEncoder |
AbstractResourceManager.getEncoder() |
String |
MeResourceManager.getUserName(String scimObjectString) |
String |
MeResourceManager.getUserName(UserManager userManager,
String scimObjectString) |
| Modifier and Type | Method and Description |
|---|---|
protected static AbstractSCIMObject |
AbstractValidator.checkIfReadOnlyAndImmutableAttributesModified(AbstractSCIMObject oldObject,
AbstractSCIMObject newObject,
SCIMResourceTypeSchema resourceSchema) |
SCIMResourceTypeSchema |
SCIMResourceSchemaManager.getUserResourceSchema(UserManager userManager) |
static void |
AbstractValidator.removeAnyReadOnlyAttributes(AbstractSCIMObject scimObject,
SCIMResourceTypeSchema resourceSchema) |
void |
AttributeSchema.removeSubAttribute(String subAttributeName) |
void |
SCIMAttributeSchema.removeSubAttribute(String subAttributeName) |
protected static void |
AbstractValidator.setDisplayNameInComplexMultiValuedAttributes(AbstractSCIMObject scimObject,
SCIMResourceTypeSchema resourceSchema) |
static void |
ServerSideValidator.validateCreatedSCIMObject(AbstractSCIMObject scimObject,
SCIMResourceTypeSchema resourceSchema) |
static void |
AbstractValidator.validatePatchOperationEffectForRequiredAttributes(AbstractSCIMObject oldObject,
AbstractSCIMObject newObject,
ResourceTypeSchema resourceSchema)
Validate whether scim object updates due to one patch operation, violate the required attributes conditions.
|
static AbstractSCIMObject |
ServerSideValidator.validateResourceTypeSCIMObject(AbstractSCIMObject scimObject) |
static void |
ClientSideValidator.validateRetrievedSCIMObject(AbstractSCIMObject scimObject,
SCIMResourceTypeSchema schema) |
static void |
ServerSideValidator.validateRetrievedSCIMObject(AbstractSCIMObject scimObject,
SCIMResourceTypeSchema resourceSchema,
String reuqestedAttributes,
String requestedExcludingAttributes) |
static void |
ServerSideValidator.validateRetrievedSCIMObjectInList(AbstractSCIMObject scimObject,
SCIMResourceTypeSchema resourceSchema,
String reuqestedAttributes,
String requestedExcludingAttributes) |
static void |
AbstractValidator.validateReturnedAttributes(AbstractSCIMObject scimObject,
String requestedAttributes,
String requestedExcludingAttributes) |
static void |
AbstractValidator.validateSchemaList(AbstractSCIMObject scimObject,
SCIMResourceTypeSchema resourceSchema) |
static void |
AbstractValidator.validateSCIMObjectForRequiredAttributes(AbstractSCIMObject scimObject,
ResourceTypeSchema resourceSchema) |
static AbstractSCIMObject |
ServerSideValidator.validateUpdatedSCIMObject(AbstractSCIMObject oldObject,
AbstractSCIMObject newObject,
SCIMResourceTypeSchema resourceSchema)
Perform validation on SCIM Object update on service provider side.
|
static AbstractSCIMObject |
ServerSideValidator.validateUpdatedSCIMObject(AbstractSCIMObject oldObject,
AbstractSCIMObject newObject,
SCIMResourceTypeSchema resourceSchema,
boolean validatePerPatchOperation)
Perform validation on SCIM Object update on service provider side.
|
| Modifier and Type | Method and Description |
|---|---|
static Object |
CopyUtil.deepCopy(Object oldObject) |
static AbstractSCIMObject |
PatchOperationUtil.doPatchAdd(PatchOperation operation,
JSONDecoder decoder,
AbstractSCIMObject oldResource,
AbstractSCIMObject copyOfOldResource,
SCIMResourceTypeSchema schema)
This method corresponds to the add operation in patch requests.
|
static AbstractSCIMObject |
PatchOperationUtil.doPatchRemove(PatchOperation operation,
AbstractSCIMObject oldResource,
AbstractSCIMObject copyOfOldResource,
SCIMResourceTypeSchema schema) |
static AbstractSCIMObject |
PatchOperationUtil.doPatchReplace(PatchOperation operation,
JSONDecoder decoder,
AbstractSCIMObject oldResource,
AbstractSCIMObject copyOfOldResource,
SCIMResourceTypeSchema schema) |
static Map<String,Boolean> |
ResourceManagerUtil.getAllAttributeURIs(SCIMResourceTypeSchema schema) |
static Object |
AttributeUtil.getAttributeValueFromString(Object attributeValue,
SCIMDefinitions.DataType dataType) |
static Map<String,Boolean> |
ResourceManagerUtil.getOnlyRequiredAttributesURIs(SCIMResourceTypeSchema schema,
String requestedAttributes,
String requestedExcludingAttributes) |
static String |
AttributeUtil.getStringValueOfAttribute(Object attributeValue,
SCIMDefinitions.DataType dataType) |
static Instant |
AttributeUtil.parseDateTime(String dateTimeString) |
static String |
AttributeUtil.parseReference(String referenceString) |
Copyright © 2022 WSO2. All rights reserved.