| 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.
|
protected static boolean |
DefaultAttributeFactory.isAttributeDataTypeValid(Object attributeValue,
SCIMDefinitions.DataType attributeDataType)
When an attribute is created with value and data type provided,
we need to validate whether they are matching.
|
| 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) |
BulkRequestData |
JSONDecoder.decodeBulkData(String bulkResourceString)
Decode BulkRequestData Json Sting.
|
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 |
ArrayList<PatchOperation> |
JSONDecoder.decodeRequest(String scimResourceString) |
<T extends AbstractSCIMObject> |
JSONDecoder.decodeResource(String scimResourceString,
ResourceTypeSchema resourceSchema,
T scimObject)
Decode the resource string sent in the SCIM request payload.
|
SearchRequest |
JSONDecoder.decodeSearchRequestBody(String scimResourceString,
SCIMResourceTypeSchema schema) |
| Modifier and Type | Method and Description |
|---|---|
Group |
UserManager.createGroup(Group group,
Map<String,Boolean> requiredAttributes) |
User |
UserManager.createMe(User user,
Map<String,Boolean> requiredAttributes) |
User |
UserManager.createUser(User user,
Map<String,Boolean> requiredAttributes)
User Manipulation operations.
|
void |
UserManager.deleteGroup(String id) |
void |
UserManager.deleteMe(String userName) |
void |
UserManager.deleteUser(String userId) |
Group |
UserManager.getGroup(String id,
Map<String,Boolean> requiredAttributes) |
User |
UserManager.getMe(String userName,
Map<String,Boolean> requiredAttributes) |
User |
UserManager.getUser(String id,
Map<String,Boolean> requiredAttributes) |
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) |
default List<Object> |
UserManager.listUsersWithGET(Node node,
Integer startIndex,
Integer count,
String sortBy,
String sortOrder,
String domainName,
Map<String,Boolean> requiredAttributes) |
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) |
Group |
UserManager.updateGroup(Group oldGroup,
Group newGroup,
Map<String,Boolean> requiredAttributes) |
User |
UserManager.updateMe(User updatedUser,
Map<String,Boolean> requiredAttributes) |
User |
UserManager.updateUser(User updatedUser,
Map<String,Boolean> requiredAttributes) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractSCIMObject.createMetaAttribute()
crete the meta attribute of the scim object
|
void |
AbstractSCIMObject.setCreatedDate(Date createdDate)
Deprecated.
|
void |
AbstractSCIMObject.setCreatedInstant(Instant created) |
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 |
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 |
User.setUserName(String userName)
set the userName of the user
|
| Modifier and Type | Method and Description |
|---|---|
BulkResponseData |
BulkRequestProcessor.processBulkRequests(BulkRequestData bulkRequestData) |
| Modifier and Type | Method and Description |
|---|---|
static AbstractSCIMObject |
PatchOperationUtil.doPatchAdd(PatchOperation operation,
JSONDecoder decoder,
AbstractSCIMObject oldResource,
AbstractSCIMObject copyOfOldResource,
SCIMResourceTypeSchema schema) |
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 String |
AttributeUtil.getAttributeURI(String attributeName,
SCIMResourceTypeSchema schema) |
static Object |
AttributeUtil.getAttributeValueFromString(Object attributeValue,
SCIMDefinitions.DataType dataType) |
static Boolean |
AttributeUtil.parseBoolean(Object booleanValue) |
static int |
ResourceManagerUtil.processCount(String countStr)
Process count value according to SCIM 2.0 specification
|
static int |
ResourceManagerUtil.processStartIndex(String startIndexStr)
Process startIndex value according to SCIM 2.0 specification
|
| Modifier and Type | Method and Description |
|---|---|
Node |
FilterTreeManager.buildTree() |
Copyright © 2019 WSO2. All rights reserved.