Sun OpenSSO Enterprise 8.0 Developer's Guide

Searching Identity Types

The search REST interface will search the configured database for a list of identities that match the input criteria. The URL needs to be populated with the following information.

The following URL would return the available agent types.


http://OpenSSO-host:OpenSSO-port/opensso/identity/search?filter=*
&attributes_names=objecttype&attributes_values_objecttype=agent
&admin=AQIC5wM2LY4SfcxCWBCNON1gTsaMaHISbYmTyYosv8pCPVw=@AAJTSQACMDE=#

By default:

string=wsc
string=wsp
string=SecurityTokenService

This example would return all user entries.


http://OpenSSO-host:OpenSSO-port/opensso/identity/search?filter=*
&attributes_names=objectclass&attributes_values_objectclass=person
&admin=AQIC5wM2LY4SfcxCWBCNON1gTsaMaHISbYmTyYosv8pCPVw=@AAJTSQACMDE=#

By default:

string=amAdmin
string=amldapuser
string=dsameuser
string=anonymous
string=amService-URLAccessAgent
string=demo

The operation might also return TokenExpired, NeedMoreCredentials, or GeneralFailure on other errors.