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
User By 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, query
protected final void checkAuthFilterInvoked() throws Exception
Exception
protected void filter(Authorizable authorizable) throws org.springframework.security.access.AuthorizationServiceException
User
org.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 Transformer
JPAQueryTransformer
will back up the Transformation process; however any adapter could be used to pull data from any data source.query
in class AnyWebService
queryNameId
- as beanid for a Transformer that will accept the inputParams being passedinputParams
- as Object @nullable trueException
Copyright © 2018. All rights reserved.