Securing Java protocols - EJB

When Sterling Selling and Fulfillment Foundation APIs are deployed through EJB, they use a Java™ Naming and Directory Interface (JNDI) lookup for a context to call the EJB Objects.

JNDI looks up a context that is a handle to the EJB Object or API. The APIs do not have authentication or authorization. However, security principal and credentials can be supplied by specifying them in the yifclient.properties configuration file. The server can be set up to validate the passed security credentials.

The Sterling Selling and Fulfillment Foundation HTTP/HTTPS Interface uses JavaServer Pages (JSPs) installed on the application server and does not need access to JNDI. There are two ways to protect the Sterling Selling and Fulfillment Foundation APIs over EJB:

If the application is deployed on WebSphere® or JBoss, you must set up permissions for EJB method. This does not affect any standard screens that are packaged with Sterling Selling and Fulfillment Foundation or the custom screens you create.

Important: If you attempt to run Sterling Selling and Fulfillment Foundation using HTTPS, the Applications Manager does not open.

If a custom user interface is being built using the Sterling Selling and Fulfillment Foundation APIs through EJB and not by extending the Sterling Selling and Fulfillment Foundation Presentation Framework, you cannot use the client wrapper supplied with Sterling Selling and Fulfillment Foundation because it currently is incapable of passing credentials. This also applies to any use of the YIFAPIFactory class.