Authenticate a given user
Parameters: principalName - name of the user Parameters: arrayPass - password of the user Parameters: resourceName - type of resource to use to register ( memory, jdbc, ldap) throws: RemoteException - if the authentication failed an authenticated subject if it succeed
Authenticate a given user
Parameters: principalName - name of the user Parameters: arrayPass - password of the user Parameters: entryName - the name of the JAAS entry to search in jaas configuration file throws: RemoteException - if the authentication failed an authenticated subject if it succeed