public interface CustomRepository
CustomRepository interface (com.ibm.wsspi.security.wim.CustomRepository
)
is used to implement the custom repository as a user feature.
com.ibm.websphere.security.UserRegistry
, but
additionally, it supports write capabilities such as create, delete, and update.
com.ibm.websphere.security.UserRegistry
Modifier and Type | Method and Description |
---|---|
Root |
create(Root root)
Creates the entity under the given root data object.
|
Root |
delete(Root root)
Delete the entity specified in the root data object.
|
Root |
get(Root root)
Returns information of the specified entities.
|
java.lang.String |
getRealm()
Returns the realm name
|
java.lang.String[] |
getRepositoriesForGroups() |
java.util.Map<java.lang.String,java.lang.String> |
getRepositoryBaseEntries() |
Root |
login(Root root)
Authenticates the account data object in the specified root data object.
|
Root |
search(Root root)
Searches the profile repositories for entities matching the given search
expression and returns them with the requested properties.
|
Root |
update(Root root)
Updates entity specified in the root data object.
|
java.util.Map<java.lang.String,java.lang.String> getRepositoryBaseEntries()
java.lang.String[] getRepositoriesForGroups()
Root get(Root root) throws WIMException
root
- The root data object containing the request information.WIMException
Root search(Root root) throws WIMException
root
- the root data object containing the control(s) related to search.WIMException
Root login(Root root) throws WIMException
root
- the root data object containing the account to authenticate.WIMException
java.lang.String getRealm()
Root delete(Root root) throws WIMException
root
- The root data object which contains the entity to delete.
The identifier of the entity should be specified.WIMException
Root create(Root root) throws WIMException
root
- The root data object which contains the entity to be created.WIMException
Root update(Root root) throws WIMException
root
- The root data object containing entity with changes need to update.WIMException