|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.rmi.PortableRemoteObject
org.objectweb.jonas.security.realm.factory.JResourceRemoteImpl
This class allow to make authentication on server side even for Client container or remote applications
Constructor Summary | |
JResourceRemoteImpl()
Default constructor |
Method Summary | |
JSubject |
authenticate(java.lang.String principalName,
char[] arrayPass,
java.lang.String resourceName)
Authenticate a given user |
Methods inherited from class javax.rmi.PortableRemoteObject |
connect, exportObject, narrow, toStub, unexportObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JResourceRemoteImpl() throws java.rmi.RemoteException
java.rmi.RemoteException
- if super class cannot export objectMethod Detail |
public JSubject authenticate(java.lang.String principalName, char[] arrayPass, java.lang.String resourceName) throws java.rmi.RemoteException
authenticate
in interface JResourceRemote
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |