public interface RemoteCredentialsService
Modifier and Type | Method and Description |
---|---|
BaseCredentialsInfo |
createPersonCredentials(String remoteSystem,
BaseCredentialsInfo credentials)
Stores a new
BaseCredentialsInfo for the current user |
BaseCredentialsInfo |
createSharedCredentials(String remoteSystem,
BaseCredentialsInfo credentials)
Stores a new
BaseCredentialsInfo for shared use. |
void |
deleteCredentials(BaseCredentialsInfo credentialsInfo)
Deletes an existing
BaseCredentialsInfo from the repository |
BaseCredentialsInfo |
getPersonCredentials(String remoteSystem)
Fetches the credentials for the current user for the specified
System.
|
org.alfresco.query.PagingResults<? extends BaseCredentialsInfo> |
listAllCredentials(String remoteSystem,
org.alfresco.service.namespace.QName credentialsType,
org.alfresco.query.PagingRequest paging)
Lists all Credentials that the user has access to
for the given Remote System
|
org.alfresco.query.PagingResults<String> |
listAllRemoteSystems(org.alfresco.query.PagingRequest paging)
Lists all the Remote Systems for which the user has credentials,
either personal ones or shared ones
|
org.alfresco.query.PagingResults<? extends BaseCredentialsInfo> |
listPersonCredentials(String remoteSystem,
org.alfresco.service.namespace.QName credentialsType,
org.alfresco.query.PagingRequest paging)
Lists all Credentials for the current user for the given Remote System
|
org.alfresco.query.PagingResults<String> |
listPersonRemoteSystems(org.alfresco.query.PagingRequest paging)
Lists all Remote Systems for which credentials are
stored for the current user
|
org.alfresco.query.PagingResults<? extends BaseCredentialsInfo> |
listSharedCredentials(String remoteSystem,
org.alfresco.service.namespace.QName credentialsType,
org.alfresco.query.PagingRequest paging)
Lists all Credentials that are shared with the current user for
the given Remote System
|
org.alfresco.query.PagingResults<String> |
listSharedRemoteSystems(org.alfresco.query.PagingRequest paging)
Lists all Remote Systems for which the user has access
to shared credentials
|
BaseCredentialsInfo |
updateCredentials(BaseCredentialsInfo credentials)
Updates an existing
BaseCredentialsInfo . |
BaseCredentialsInfo |
updateCredentialsAuthenticationSucceeded(boolean succeeded,
BaseCredentialsInfo credentialsInfo)
Records if the most recent Authentication attempt with a given
set of credentials worked or not.
|
BaseCredentialsInfo createPersonCredentials(String remoteSystem, BaseCredentialsInfo credentials)
BaseCredentialsInfo
for the current userBaseCredentialsInfo createSharedCredentials(String remoteSystem, BaseCredentialsInfo credentials)
BaseCredentialsInfo
for shared use.
Permissions should then be set to control access to these.BaseCredentialsInfo updateCredentials(BaseCredentialsInfo credentials)
BaseCredentialsInfo
. The type
must not change.BaseCredentialsInfo updateCredentialsAuthenticationSucceeded(boolean succeeded, BaseCredentialsInfo credentialsInfo)
void deleteCredentials(BaseCredentialsInfo credentialsInfo)
BaseCredentialsInfo
from the repositoryorg.alfresco.query.PagingResults<String> listPersonRemoteSystems(org.alfresco.query.PagingRequest paging)
org.alfresco.query.PagingResults<String> listSharedRemoteSystems(org.alfresco.query.PagingRequest paging)
org.alfresco.query.PagingResults<String> listAllRemoteSystems(org.alfresco.query.PagingRequest paging)
BaseCredentialsInfo getPersonCredentials(String remoteSystem)
org.alfresco.query.PagingResults<? extends BaseCredentialsInfo> listPersonCredentials(String remoteSystem, org.alfresco.service.namespace.QName credentialsType, org.alfresco.query.PagingRequest paging)
remoteSystem
- The Remote System to return credentials forcredentialsType
- Optional type (including child subtypes) of the credentials to filter byorg.alfresco.query.PagingResults<? extends BaseCredentialsInfo> listSharedCredentials(String remoteSystem, org.alfresco.service.namespace.QName credentialsType, org.alfresco.query.PagingRequest paging)
remoteSystem
- The Remote System to return credentials forcredentialsType
- Optional type (including child subtypes) of the credentials to filter byorg.alfresco.query.PagingResults<? extends BaseCredentialsInfo> listAllCredentials(String remoteSystem, org.alfresco.service.namespace.QName credentialsType, org.alfresco.query.PagingRequest paging)
remoteSystem
- The Remote System to return credentials forcredentialsType
- Optional type (including child subtypes) of the credentials to filter byCopyright © 2005–2017 Alfresco Software. All rights reserved.