public interface JCoServerSecurityHandler
SecurityHandler
Modifier and Type | Method and Description |
---|---|
default void |
checkAuthentication(JCoServerContextInfo serverCtxInfo,
JCoServerAuthenticationData... authenticationData)
This API will be invoked by the JCo runtime on each new session which is established (or every time if it is stateless).
|
void |
checkAuthorization(JCoServerContext serverCtx,
String functionName,
JCoServerAuthorizationData authorizationData)
This API will be invoked by the JCo runtime on each remote call.
|
void checkAuthorization(JCoServerContext serverCtx, String functionName, JCoServerAuthorizationData authorizationData) throws JCoApplicationAuthorizationException
serverCtx
- remote request related parametersfunctionName
- name of the invoked functionauthorizationData
- authorization data sent from the remote systemJCoApplicationAuthorizationException
- should be thrown if the user does not have
permissions to execute the functiondefault void checkAuthentication(JCoServerContextInfo serverCtxInfo, JCoServerAuthenticationData... authenticationData) throws JCoApplicationAuthenticationException
serverCtxInfo
- remote request related parametersauthenticationData
- authentication data sent from the remote system or null, if no data is providedJCoApplicationAuthenticationException
- should be thrown if the user does not have
access to the related serverCopyright © 2024 SAP. All rights reserved.