@Controller
public class AuthorityController
extends java.lang.Object
org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping
,
org.cateproject.controller.interceptor.lsid.AuthorityMethodNameResolver
,
com.ibm.lsid.server.servlet.AuthorityServlet
Constructor and Description |
---|
AuthorityController() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.servlet.ModelAndView |
getAvailableServices()
Get the available services of this LSIDAuthority as a wsdl document
|
org.springframework.web.servlet.ModelAndView |
getAvailableServices(LSID lsid)
Get the available services for a given lsid
|
void |
initBinder(org.springframework.web.bind.WebDataBinder binder) |
org.springframework.web.servlet.ModelAndView |
notifyForeignAuthority()
Maps to the notify path without the required params
|
org.springframework.web.servlet.ModelAndView |
notifyForeignAuthority(LSID lsid,
LSIDAuthority lsidAuthority)
Notify the authority that another authority resolves the object with the given identifier
|
org.springframework.web.servlet.ModelAndView |
revokeNotificationForeignAuthority()
Maps to the revoke path without the required params
|
org.springframework.web.servlet.ModelAndView |
revokeNotificationForeignAuthority(LSID lsid,
LSIDAuthority lsidAuthority)
Notify the authority that another authority no longer resolves the object with the given identifier
|
void |
setLsidAuthorityService(LSIDAuthorityService lsidAuthorityService) |
@Autowired public void setLsidAuthorityService(LSIDAuthorityService lsidAuthorityService)
@InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder)
@RequestMapping(value="/authority/", params="!lsid", method=GET) public org.springframework.web.servlet.ModelAndView getAvailableServices() throws com.ibm.lsid.server.LSIDServerException
com.ibm.lsid.server.LSIDServerException
Source
@RequestMapping(value="/authority/", params="lsid", method=GET) public org.springframework.web.servlet.ModelAndView getAvailableServices(@RequestParam(value="lsid") LSID lsid) throws com.ibm.lsid.server.LSIDServerException
LSID
- the lsid to query the service withcom.ibm.lsid.server.LSIDServerException
Source
@RequestMapping(value="/authority/notify/", params={"lsid","authorityName"}, method=GET) public org.springframework.web.servlet.ModelAndView notifyForeignAuthority(@RequestParam(value="lsid") LSID lsid, @RequestParam(value="authorityName") LSIDAuthority lsidAuthority) throws com.ibm.lsid.server.LSIDServerException
lsid
- the LSID to notify the authority aboutauthorityName
- the foreign authoritycom.ibm.lsid.server.LSIDServerException
@RequestMapping(value="/authority/notify/", method=GET) public org.springframework.web.servlet.ModelAndView notifyForeignAuthority() throws com.ibm.lsid.LSIDException
com.ibm.lsid.server.LSIDServerException
com.ibm.lsid.LSIDException
@RequestMapping(value="/authority/revoke/", params={"lsid","authorityName"}, method=GET) public org.springframework.web.servlet.ModelAndView revokeNotificationForeignAuthority(@RequestParam(value="lsid") LSID lsid, @RequestParam(value="authorityName") LSIDAuthority lsidAuthority) throws com.ibm.lsid.server.LSIDServerException
lsid
- the LSID to notify the authority aboutauthorityName
- the foreign authoritycom.ibm.lsid.server.LSIDServerException
@RequestMapping(value="/authority/revoke/", method=GET) public org.springframework.web.servlet.ModelAndView revokeNotificationForeignAuthority() throws com.ibm.lsid.LSIDException
com.ibm.lsid.server.LSIDServerException
com.ibm.lsid.LSIDException
Copyright © 2007-2020 EDIT. All Rights Reserved.