on 10-06-2008 9:53 PM
Hi SDN,
I need a logon module in the anonymous page of my portal, similar to that of SDN. When the user login through that module, he will assigned roles depending upon hte permission. How to go about creating a new logon module component as an iview in the anonymous page.
I saw this weblog, it was not clear to me
Can somebody explain as to how to go about it?
Thanks & Regards.,
Ganesh N
Ganesh,
check these links
http://help.sap.com/saphelp_nw04/helpdata/en/07/0ce13d8ee4535ee10000000a114084/frameset.htm
Thanks
Bala Duvvuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Kumar,
I have already read the above blog and tried implementing through JSP dynpage. The problem with the application is that it doesnt throw error message, when the user types wrong password. It stays in the same anonymous page after an unsucessful login.
Does anybody faced the same issue? Kindly provide inputs on the same!!
Thanks & Regards,
Ganesh N
Hi,
You have a solution from this blog itself
you can use this tags
<% String loginUser=request.getParameter("j_user");
String loginPassword=request.getParameter("j_password");%>
then within <td>
<%if((loginUser!=null)&&(!loginUser.equals(""))){
IUserAccount userAcc=null;
IUserFactory userFact = UMFactory.getUserFactory();
IUserSearchFilter userFilt = userFact.getUserSearchFilter();
userFilt.setUniqueName(loginUser, ISearchAttribute.EQUALS_OPERATOR, false);
ISearchResult result = userFact.searchUsers(userFilt);
if (result.getState() == ISearchResult.SEARCH_RESULT_OK) {
if(result.hasNext()){
userAcc = UMFactory.getUserAccountFactory().getUserAccountByLogonId(loginUser);
if(userAcc.isLocked()){
out.print(accLocked);
}else{
if(!userAcc.checkPassword(loginPassword)){
out.print(wrongPass);
}
}
}else{
out.print(wrongUser);
}
}
}
%>
</td>
Its working fine...
Regards,
Kumar.
hi Kumar,
I am using jspdynpage in my application. When i give
<FORM name="logonForm" id="logonForm" method="post" action="">
the form is not going to the controller and when i remove the method="post", it is going to the controller. And because of this the user id and pwd is appended in the URL. If i can manage to submit the form with the method="post", then the application is done with.
Thanks for your time!
Regards,
Ganesh N
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.