on 11-12-2012 9:26 PM
I want to show standard portal login page for my J2EE application. are there any steps to add this logic to my j2ee application?
Resolved!!
I have added below code to my initial jsp
<%@ page language="java" %> <%@ page import = "com.sap.security.api.*" %>
<% IAuthentication authenticator = UMFactory.getAuthenticator();
IUser user = authenticator.forceLoggedInUser(request, response); %>
<%= user.getName() %>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.