Hi, 
 
I am really stuck at one thing. I want to authenticate user using
Magnolia Repository using my own java method authenticate Could you
please give me a sample code that how can I authenticate user from
magnolia if I will get username and password from the web page like from
jsp page. I also want to check that what permissions user have got and
roles. 
 
Like Lemme give you an example that what I want to do. Actually, I want
to authenticate user from active directory (Ldap) and then I also
authenticate user from the magnolia repository and redirect the user to
main page where he can edit things according to his roles and
permissions.
 
Suppose If user go to site like
http://localhost:8080/magnoliaPublic/.magnolia then a web page will open
which will take his username and password and then send the username and
password to JAVA bean or another JSP file which will authenticate user
from active directory (which I have done this using LDAP) then I want to
write another method which will authenticate user from magnolia
repository and set his roles and permission so that when user will go to
http://localhost:8080/magnoliaPublic/.magnolia then he can only edit
those templates or pages which he is allowed to do. 
 
 
Please I will be really appreciate If you can provide me a JAVA method
which will authenticate user from Magnolia Repository ( I have only
username and password) and redirect to that main of (AdminCentral).
Actually you can say that I want to do the same thing which magnolia
does on its login page when someone wants to use admin central.
 
I hope you understand my question and will get back to me as soon as
possible.
 
 
 
 
 
Saqib Hussain

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to