public abstract class BaseApiController extends Object
| Constructor and Description |
|---|
BaseApiController() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getIdpEntityIdFromToken(javax.servlet.http.HttpServletRequest request) |
void |
handleGenericException(Exception ex,
javax.servlet.http.HttpServletResponse response) |
void |
handleSecurityException(Exception ex,
javax.servlet.http.HttpServletResponse response) |
protected void |
verifyScope(javax.servlet.http.HttpServletRequest request,
String scopeRequired) |
protected String getIdpEntityIdFromToken(javax.servlet.http.HttpServletRequest request)
protected void verifyScope(javax.servlet.http.HttpServletRequest request,
String scopeRequired)
@ExceptionHandler(value=ScopeVerificationException.class) public void handleSecurityException(Exception ex, javax.servlet.http.HttpServletResponse response) throws IOException
IOException@ExceptionHandler(value=java.lang.Exception.class) public void handleGenericException(Exception ex, javax.servlet.http.HttpServletResponse response) throws IOException
IOExceptionCopyright © 2013 SURFnet bv, The Netherlands. All Rights Reserved.