public abstract class SecurableService extends AnyWebService
checkAuthFilterInvoked() from this.applicationContext, CACHE, NO_CACHE, request, response| Modifier | Constructor and Description |
|---|---|
protected |
SecurableService(boolean checkAuthFiltered) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkAuthFilterInvoked()
Since these services are secured (if specified as so), the Job of Authentication is meant to be handled by the Filter.
|
protected void |
filter(Authorizable authorizable)
Authorization filter for
UserBy default there is no additional Authorization check; however one is encouraged to override this and check the User in the request for any additional authorizations. |
protected Object |
query(String queryNameId,
Object inputParams)
Fetch Query results from server based on a
ExternalAccessTransformer Spring Bean name. |
filter, getCacheDef, getTestString, queryprotected final void checkAuthFilterInvoked()
throws Exception
Exceptionprotected void filter(Authorizable authorizable) throws org.springframework.security.access.AuthorizationServiceException
Userorg.springframework.security.access.AuthorizationServiceException - if user not Authorized for the Serviceprotected Object query(String queryNameId, Object inputParams) throws Exception
ExternalAccessTransformer Spring Bean name. The parameters are passed as input to the TransformerJPAQueryTransformer will back up the Transformation process; however any adapter could be used to pull data from any data source.query in class AnyWebServicequeryNameId - as beanid for a Transformer that will accept the inputParams being passedinputParams - as Object @nullable trueExceptionCopyright © 2018. All rights reserved.