com.sap.conn.jco.server
Interface JCoServerSecurityHandler


public interface JCoServerSecurityHandler

Security Handler will be asked to check the permissions of the user, who initiated a remote call. Each application should provide its own implementation for the security handler. The security handler will be registered by the JCoServer instance

See Also:
JCoServer.setSecurityHandler(JCoServerSecurityHandler)

Method Summary
 void checkAuthorization(JCoServerContext serverCtx, java.lang.String functionName, JCoServerAuthorizationData authData)
          This API will be invoked by the JCo runtime on each remote call
 

Method Detail

checkAuthorization

void checkAuthorization(JCoServerContext serverCtx,
                        java.lang.String functionName,
                        JCoServerAuthorizationData authData)
                        throws JCoApplicationAuthorizationException
This API will be invoked by the JCo runtime on each remote call

Parameters:
serverCtx - remote request related parameters
functionName - name of the invoked function
authData - authorization data sent from the remote system
Throws:
JCoApplicationAuthorizationException - should be thrown if the user does not have permissions to execute the function


Copyright © 2008-2014 SAP AG. All Rights Reserved.