Avoid using the deprecated security authentication WSPrincipal getCredential method

This rule flags the following deprecated method:

This method was deprecated in WebSphere Application Server Version 5.1 and might be removed in a future release.

You should use the com.ibm.websphere.security.auth.WSSubject.getRunAsSubject() or the com.ibm.websphere.security.auth.WSSubject.getCallerSubject() method instead.

For additional class information, see: