|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.surfnet.coin.csa.CsaClient
public class CsaClient
Client for the CSA API.
| Constructor Summary | |
|---|---|
CsaClient()
|
|
CsaClient(String csaBaseLocation)
|
|
| Method Summary | |
|---|---|
Action |
createAction(Action action)
|
List<InstitutionIdentityProvider> |
getAllInstitutionIdentityProviders()
|
List<InstitutionIdentityProvider> |
getInstitutionIdentityProviders(String identityProviderId)
|
List<Action> |
getJiraActions(String idpEntityId)
|
List<Service> |
getProtectedServices()
Get a list oof all protected services scoped by the Idp of the logged in person |
List<Service> |
getPublicServices()
Get a list of all services available to anyone. |
Service |
getServiceForIdp(String idpEntityId,
long serviceId)
Get a service's details, scoped by the given IDP entity ID |
Service |
getServiceForIdp(String idpEntityId,
String spEntityId)
Get a service's details, scoped by the given IDP entity ID and SP entity ID |
List<Service> |
getServicesForIdp(String idpEntityId)
Get a list of services, scoped by the given IDP entity ID |
Taxonomy |
getTaxonomy()
|
void |
setCsaBaseLocation(String csaBaseLocation)
Setter for base location of CSA |
void |
setOauthClient(OauthClient oauthClient)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CsaClient()
public CsaClient(String csaBaseLocation)
| Method Detail |
|---|
public List<Service> getPublicServices()
Csa
getPublicServices in interface Csapublic List<Service> getProtectedServices()
Csa
getProtectedServices in interface Csapublic List<Service> getServicesForIdp(String idpEntityId)
Csa
getServicesForIdp in interface Csa
public Service getServiceForIdp(String idpEntityId,
long serviceId)
Csa
getServiceForIdp in interface Csa
public Service getServiceForIdp(String idpEntityId,
String spEntityId)
Csa
getServiceForIdp in interface CsaidpEntityId - idp entity IDspEntityId - sp entity ID
public Taxonomy getTaxonomy()
getTaxonomy in interface Csapublic List<Action> getJiraActions(String idpEntityId)
getJiraActions in interface Csapublic Action createAction(Action action)
createAction in interface Csapublic List<InstitutionIdentityProvider> getInstitutionIdentityProviders(String identityProviderId)
getInstitutionIdentityProviders in interface Csapublic List<InstitutionIdentityProvider> getAllInstitutionIdentityProviders()
getAllInstitutionIdentityProviders in interface Csapublic void setCsaBaseLocation(String csaBaseLocation)
Csa
setCsaBaseLocation in interface CsacsaBaseLocation - base URL of CSApublic void setOauthClient(OauthClient oauthClient)
setOauthClient in interface Csa
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||