Janus.Metadata| Constructor and Description |
|---|
JanusRestClient() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllowedSps(String idpentityid)
Refer to
Janus.getAllowedSps(String, String) but without the revision parameter. |
List<String> |
getAllowedSps(String idpentityid,
String revision)
Get a list of SP entity ID's that are allowed for this IdP.
|
ARP |
getArp(String entityId)
Retrieves the Attribute Release Policy for this entity
|
JanusEntity |
getEntity(String entityId)
Gets the Janus Entity information for the given entityId
|
List<String> |
getEntityIdsByMetaData(Janus.Metadata key,
String value)
Get a list of entity ids that match the given metadata key/value pair.
|
List<EntityMetadata> |
getIdpList()
Retrieves a list of all Identity Providers.
|
EntityMetadata |
getMetadataByEntityId(String entityId)
Get a client's metadata by his entityId.
|
List<EntityMetadata> |
getSpList()
Retrieves a list of all Service Providers.
|
boolean |
isConnectionAllowed(String spEntityId,
String idpEntityId)
Return true or false depending wether connection is allowed or not.
|
void |
setJanusUri(URI janusUri) |
void |
setRestTemplate(org.springframework.web.client.RestTemplate restTemplate) |
void |
setSecret(String secret) |
void |
setUser(String user) |
public EntityMetadata getMetadataByEntityId(String entityId)
getMetadataByEntityId in interface JanusentityId - the entityIdpublic List<String> getEntityIdsByMetaData(Janus.Metadata key, String value)
JanusgetEntityIdsByMetaData in interface Januskey - the metadata keyvalue - the value the give metadata key should havepublic List<String> getAllowedSps(String idpentityid)
JanusJanus.getAllowedSps(String, String) but without the revision parameter.getAllowedSps in interface Januspublic List<String> getAllowedSps(String idpentityid, String revision)
JanusgetAllowedSps in interface Janusidpentityid - the IdPs entity id.revision - the revision.public List<EntityMetadata> getSpList()
Januspublic List<EntityMetadata> getIdpList()
JanusgetIdpList in interface Januspublic ARP getArp(String entityId)
Januspublic boolean isConnectionAllowed(String spEntityId, String idpEntityId)
JanusisConnectionAllowed in interface JanusspEntityId - identifier of the Service ProvideridpEntityId - identifier of the Identity Providerpublic JanusEntity getEntity(String entityId)
JanusgetEntity in interface JanusentityId - unique identifier of a Janus entityJanusEntitypublic void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
restTemplate - the restTemplate to setpublic void setJanusUri(URI janusUri)
setJanusUri in interface JanusjanusUri - the janusUri to setpublic void setUser(String user)
Copyright © 2009–2013 SURFnet bv, The Netherlands. All rights reserved.