nl.surfnet.coin.csa.api.control
Class BaseApiController
java.lang.Object
nl.surfnet.coin.csa.api.control.BaseApiController
- Direct Known Subclasses:
- JiraController, ServiceRegistryController, ServicesController, TaxonomyApiController
public abstract class BaseApiController
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseApiController
public BaseApiController()
getIdpEntityIdFromToken
protected String getIdpEntityIdFromToken(javax.servlet.http.HttpServletRequest request)
verifyScope
protected void verifyScope(javax.servlet.http.HttpServletRequest request,
String scopeRequired)
handleSecurityException
@ExceptionHandler(value=ScopeVerificationException.class)
public void handleSecurityException(Exception ex,
javax.servlet.http.HttpServletResponse response)
throws IOException
- Throws:
IOException
handleGenericException
@ExceptionHandler(value=java.lang.Exception.class)
public void handleGenericException(Exception ex,
javax.servlet.http.HttpServletResponse response)
throws IOException
- Throws:
IOException
Copyright © 2013 SURFnet bv, The Netherlands. All Rights Reserved.