|
||||||||||
| 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(java.lang.String principalName,
char[] arrayPass,
java.lang.String resourceName)
Authenticate a given user |
javax.security.auth.Subject |
authenticateJAAS(java.lang.String principalName,
char[] arrayPass,
java.lang.String entryName)
Authenticate a given user |
| Method Detail |
|---|
JSubject authenticate(java.lang.String principalName,
char[] arrayPass,
java.lang.String resourceName)
throws java.rmi.RemoteException
principalName - name of the userarrayPass - password of the userresourceName - type of resource to use to register ( memory, jdbc, ldap)
java.rmi.RemoteException - if the authentication failed
javax.security.auth.Subject authenticateJAAS(java.lang.String principalName,
char[] arrayPass,
java.lang.String entryName)
throws java.rmi.RemoteException
principalName - name of the userarrayPass - password of the userentryName - the name of the JAAS entry to search in jaas configuration file
java.rmi.RemoteException - if the authentication failed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||