|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JResourceRemote
This interface defines a method to allow authentication on server side even for Client container or remote applications
| Method Summary | |
|---|---|
JSubject |
authenticate(String principalName,
char[] arrayPass,
String resourceName)
Authenticate a given user |
Subject |
authenticateJAAS(String principalName,
char[] arrayPass,
String entryName)
Authenticate a given user |
| Method Detail |
|---|
JSubject authenticate(String principalName,
char[] arrayPass,
String resourceName)
throws RemoteException
principalName - name of the userarrayPass - password of the userresourceName - type of resource to use to register ( memory, jdbc, ldap)
RemoteException - if the authentication failed
Subject authenticateJAAS(String principalName,
char[] arrayPass,
String entryName)
throws RemoteException
principalName - name of the userarrayPass - password of the userentryName - the name of the JAAS entry to search in jaas configuration file
RemoteException - if the authentication failed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||