Kuali Authentication Service
AuthenticationService | |
Dev |
|
Notes
References
Authentication Service Structures
Principal Entity and Principal Set Entity - entity page with fields and examples.
Authentication Stack Options - help understand how the Authentication service might interact with other service layers
PI Meeting Diagrams
Operations
Dictionary Operations
#findObjectTypes
#fetchObjectStructure
#fetchEnumeration
Search Operations
#findSearchTypes
#fetchSearchType
#findSearchTypesByResult
#findSearchTypesByCriteria
#findSearchResultTypes
#fetchSearchResultType
#findSearchCriteriaTypes
#fetchSearchCriteriaType
Domain Operations
#findAuthenticationTypes
Need to add operation for fetchCurrentUser
#fetchPrincipal
#findPrincipalsByIdList
#fetchPrincipalDisplayInfo
#findPrincipalDisplayInfoByIdList
#findPrincipalIdsByPerson
#findPrincipalIdsBySystem
#fetchPersonIdByPrincipal
#fetchSystemIdByPrincipal Changed Service to System
#fetchPrincipalTypeForPrincipal
#assignPrincipalToPerson
#assignPrincipalToSystem Changed Service to System
#removePrincipalFromPerson
#removePrincipalFromSystem Changed Service to System
Setup
findObjectTypes | ||
Retrieves the list of object type identifiers known by this service. Example: cluInfo. | ||
None |
None |
No parameters |
list of object type identifiers | ||
OPERATION_FAILED |
unable to complete request | |
fetchObjectStructure | ||
Retrieves the basic dictionary information about a particular object structure. Including all variations based on a certain type and state. Example: Given that a CLU is of type "Course" and in the state of "Proposed," tell which fields are read only, mandatory, not applicable, have enumerations available, etc. | ||
objectTypeKey |
identifier of the object type | |
describes the fields for the input object type | ||
DOES_NOT_EXIST |
specified objectTypeKey not found | |
INVALID_PARAMETER |
invalid objectTypeKey | |
MISSING_PARAMETER |
missing objectTypeKey | |
OPERATION_FAILED |
unable to complete request | |
fetchEnumeration | ||
Retrieves the list of enumeration values for a particular enumeration with a certain context for a particular date. The values returned should be those where the supplied date is between the effective and expiration dates. Certain enumerations may not support this functionality. | ||
enumerationKey |
identifier of the enumeration | |
contextType |
identifier of the enumeration context type | |
contextValue |
value of the enumeration context | |
contextDate |
date and time to get the enumeration for | |
list of enumerated codes and values | ||
DOES_NOT_EXIST |
enumerationKey not found | |
INVALID_PARAMETER |
invalid enumerationKey, contextType, contextValue, contextDate | |
MISSING_PARAMETER |
missing enumerationKey, contextType, contextValue, contextDate | |
OPERATION_FAILED |
unable to complete request | |
findSearchTypes | ||
Retrieves the list of search types known by this service. | ||
None |
None |
No Parameters |
list of search type information | ||
OPERATION_FAILED |
unable to complete request | |
fetchSearchType | ||
Retrieves information about a particular search type. | ||
searchTypeKey |
identifier of the search type | |
information on the search type | ||
DOES_NOT_EXIST |
specified searchTypeKey not found | |
INVALID_PARAMETER |
invalid searchTypeKey | |
MISSING_PARAMETER |
searchTypeKey not specified | |
OPERATION_FAILED |
unable to complete request | |
findSearchTypesByResult | ||
Retrieves the list of search types which return results in the specified format. | ||
searchResultTypeKey |
identifier of the search result type | |
list of search type information | ||
DOES_NOT_EXIST |
specified searchResultTypeKey not found | |
INVALID_PARAMETER |
invalid searchResultTypeKey | |
MISSING_PARAMETER |
searchResultTypeKey not specified | |
OPERATION_FAILED |
unable to complete request | |
findSearchTypesByCriteria | ||
Retrieves the list of search types which use criteria in the specified format. | ||
searchCriteriaTypeKey |
identifier of the search criteria | |
list of search type information | ||
DOES_NOT_EXIST |
specified searchCriteriaTypeKey not found | |
INVALID_PARAMETER |
invalid searchCriteriaTypeKey | |
MISSING_PARAMETER |
searchCriteriaTypeKey not specified | |
OPERATION_FAILED |
unable to complete request | |
findSearchResultTypes | ||
Retrieves the list of search result types known by this service. Search result types describe the return structure for a search. | ||
None |
None |
No Parameters |
list of search result type information | ||
OPERATION_FAILED |
unable to complete request | |
fetchSearchResultType | ||
Retrieves information about a particular search result type. Search result types describe the return structure for a search. | ||
searchResultTypeKey |
identifier of the search result type | |
information on the search result type | ||
DOES_NOT_EXIST |
specified searchResultTypeKey not found | |
INVALID_PARAMETER |
invalid searchResultTypeKey | |
MISSING_PARAMETER |
searchResultTypeKey not specified | |
OPERATION_FAILED |
unable to complete request | |
findSearchCriteriaTypes | ||
Retrieves the list of search criteria types known by this service. | ||
None |
None |
No parameters |
list of search criteria type information | ||
OPERATION_FAILED |
unable to complete request | |
fetchSearchCriteriaType | ||
Retrieves information about a particular search criteria type. | ||
searchCriteriaTypeKey |
identifier of the search criteria type | |
information on the search criteria type | ||
DOES_NOT_EXIST |
specified searchCriteriaTypeKey not found | |
INVALID_PARAMETER |
invalid searchCriteriaTypeKey | |
MISSING_PARAMETER |
searchCriteriaTypeKey not specified | |
OPERATION_FAILED |
unable to complete request | |
findAuthenticationTypes | ||
Retrieve the list of authentication types known by this service | ||
None |
None |
No parameters |
list of authentication types | ||
OPERATION_FAILED |
unable to complete request | |
Read
findPrincipalIdsByPerson | ||
Retrieves a list of Principals for a given Person | ||
personId |
person identifier | |
list of principal ids for the specified person | ||
DISABLED_IDENTIFIER |
personId found but has been retired | |
DOES_NOT_EXIST |
personId not found | |
INVALID_PARAMETER |
invalid personId | |
MISSING_PARAMETER |
missing personId | |
OPERATION_FAILED |
unable to complete request | |
PERMISSION_DENIED |
authorization failure | |
findPrincipalIdsBySystem | ||
Retrieves a list of Principals for a given System | ||
systemId |
system identifier | |
list of principal ids for the given system | ||
DISABLED_IDENTIFIER |
systemId found but has been retired | |
DOES_NOT_EXIST |
systemId not found | |
INVALID_PARAMETER |
invalid systemId | |
MISSING_PARAMETER |
missing systemId | |
OPERATION_FAILED |
unable to complete request | |
PERMISSION_DENIED |
authorization failure | |
fetchPersonIdByPrincipal | ||
Retrieves a Person for a given Principal | ||
principalId |
principal identifier | |
person identifier that matches the supplied criteria | ||
DISABLED_IDENTIFIER |
principalId found but has been retired | |
DOES_NOT_EXIST |
principalId not found | |
INVALID_PARAMETER |
invalid principalId | |
MISSING_PARAMETER |
missing principalId | |
OPERATION_FAILED |
unable to complete request | |
PERMISSION_DENIED |
authorization failure | |
fetchSystemByPrincipal | ||
Retrieves a System for a given Principal | ||
principalId |
principal identifier | |
system identifier that matches the supplied criteria | ||
DISABLED_IDENTIFIER |
systemId found but has been retired | |
DOES_NOT_EXIST |
systemId not found | |
INVALID_PARAMETER |
invalid principalId | |
MISSING_PARAMETER |
missing principalId | |
OPERATION_FAILED |
unable to complete request | |
PERMISSION_DENIED |
authorization failure | |
fetchPrincipalTypeForPrincipal | ||
Retrieves a Principal Type for a given Principal | ||
principalId |
principal identifier | |
principal type that matches the supplied criteria | ||
DISABLED_IDENTIFIER |
principalId found but has been retired | |
DOES_NOT_EXIST |
principalId not found | |
INVALID_PARAMETER |
invalid principalId | |
MISSING_PARAMETER |
missing principalId | |
OPERATION_FAILED |
unable to complete request | |
PERMISSION_DENIED |
authorization failure | |
findPrincipalTypesByPrincipalIdList | ||
Retrieves a list of Principal Types for a given list of Principal Ids | ||
principalIdList |
list of principal identifiers | |
List of principal types that match the supplied criteria | ||
DISABLED_IDENTIFIER |
One or more principalIds found but have been retired | |
DOES_NOT_EXIST |
One or more principalIds not found | |
INVALID_PARAMETER |
invalid principalIdList | |
MISSING_PARAMETER |
missing principalId | |
OPERATION_FAILED |
unable to complete request | |
PERMISSION_DENIED |
authorization failure | |
Search
searchForResults | ||
Retrieves results in tabular form for the specified parameters. | ||
searchTypeKey |
search identifier | |
queryParamValues |
list of values for search parameters | |
list of results from the query | ||
DOES_NOT_EXIST |
specified search type not found | |
INVALID_PARAMETER |
invalid searchTypeKey, queryParamValueList | |
MISSING_PARAMETER |
searchTypeKey, queryParamValueList not specified | |
OPERATION_FAILED |
unable to complete request | |
PERMISSION_DENIED |
authorization failure | |
Maintenance
assignPrincipalToPerson | ||
Assigns a Principal to a Person | ||
principalId |
principal identifier | |
personId |
person identifier | |
status of the operation | ||
ALREADY_EXISTS |
association already exists | |
DISABLED_IDENTIFIER |
personId or principalId found but has been retired | |
DOES_NOT_EXIST |
personId, principalId does not exist | |
INVALID_PARAMETER |
invalid personId, principalId | |
MISSING_PARAMETER |
missing personId, principalId | |
OPERATION_FAILED |
unable to complete request | |
PERMISSION_DENIED |
authorization failure | |
assignPrincipalToSystem | ||
Assigns a Principal to a System | ||
principalId |
principal identifier | |
systemId |
system identifier | |
status of the operation | ||
ALREADY_EXISTS |
association already exists | |
DISABLED_IDENTIFIER |
principalId, systemId found but has been retired | |
DOES_NOT_EXIST |
principalId, systemId does not exist | |
INVALID_PARAMETER |
invalid principalId, systemId | |
MISSING_PARAMETER |
missing principalId, systemId | |
OPERATION_FAILED |
unable to complete request | |
PERMISSION_DENIED |
authorization failure | |
removePrincipalFromPerson | ||
Remove a Principal from a Person | ||
principalId |
principal identifier | |
personId |
person identifier | |
status of the operation | ||
DISABLED_IDENTIFIER |
personId or principalId found but has been retired | |
DOES_NOT_EXIST |
personId, principalId, association does not exist | |
INVALID_PARAMETER |
invalid personId, principalId | |
MISSING_PARAMETER |
missing personId, principalId | |
OPERATION_FAILED |
unable to complete request | |
PERMISSION_DENIED |
authorization failure | |
removePrincipalFromSystem | ||
Remove a Principal from a System | ||
principalId |
principal identifier | |
systemId |
system identifier | |
status of the operation | ||
DISABLED_IDENTIFIER |
principalId, systemId found but has been retired | |
DOES_NOT_EXIST |
principalId, systemId, association does not exist | |
INVALID_PARAMETER |
invalid principalId, systemId | |
MISSING_PARAMETER |
missing principalId, systemId | |
OPERATION_FAILED |
unable to complete request | |
PERMISSION_DENIED |
authorization failure | |