public interface WhitelistedSiteService
Modifier and Type | Method and Description |
---|---|
Collection<WhitelistedSite> |
getAll()
Return a collection of all WhitelistedSite managed by this service
|
WhitelistedSite |
getByClientId(String clientId)
Find a WhitelistedSite by its associated ClientDetails reference
|
WhitelistedSite |
getById(Long id)
Returns the WhitelistedSite for the given id
|
void |
remove(WhitelistedSite whitelistedSite)
Removes the given WhitelistedSite from the repository
|
WhitelistedSite |
saveNew(WhitelistedSite whitelistedSite)
Persists a new WhitelistedSite
|
WhitelistedSite |
update(WhitelistedSite oldWhitelistedSite,
WhitelistedSite whitelistedSite)
Updates an existing whitelisted site
|
Collection<WhitelistedSite> getAll()
WhitelistedSite getById(Long id)
id
- id the id of the WhitelistedSiteWhitelistedSite getByClientId(String clientId)
client
- the Relying Partyvoid remove(WhitelistedSite whitelistedSite)
address
- the WhitelistedSite object to removeWhitelistedSite saveNew(WhitelistedSite whitelistedSite)
whitelistedSite
- the WhitelistedSite to be savedWhitelistedSite update(WhitelistedSite oldWhitelistedSite, WhitelistedSite whitelistedSite)
Copyright © 2018. All rights reserved.