on 02-24-2010 9:55 AM
HI all
We have developped a java J2EE application which programmaticly connects with UME via API in order to check user an password.
Now we want if one person login correctly in our J2EE application and go to portal he hasn´t login again.
Any idea?
Hi Julio;
This code may be useful;
request.setAttribute("j_user", username);
request.setAttribute("j_password", password);
request.setAttribute("login_submit", "on");
ILogonAuthentication ua = UMFactory.getLogonAuthenticator();
try{
Subject subj = ua.logon(request, response, "uidpwdlogon" );
response.sendRedirect("/irj/portal");
}catch(Exception e) {
response.sendRedirect("/error.html);
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to configure your application to use the Ticket Login Module:
See it to information: http://help.sap.com/saphelp_nw04/helpdata/en/53/695b3ebd564644e10000000a114084/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Julian,
Have you seen the code for Create Ticket Login Module. This the one whic creates the MYSAPSSO2 ticket.
You can find the JARin \usr\sap\<SID>\j2ee\cluster\server0\bin\ext\security.class\tc_sec_jaas.jar and the class is com.sap.security.core.server.jaas.CreateTicketLoginModule.
Regards,
Vijith
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.