can someone help on how to pass login and password from the code below that i have attach to an asp .net c# page.. The login and password are retrieve from Active Directory data. Code are as below :
<%@ page language="java" %>
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ page import="java.util.*" %>
<%@ page import="com.novell.nidp.*" %>
<%@ page import="com.novell.nidp.servlets.*" %>
<%@ page import="com.novell.nidp.resource.*" %>
<%@ page import="com.novell.nidp.resource.jsp.*" %>
<%@ page import="com.novell.nidp.ui.*" %>
<%@ page import="org.apache.commons.lang.StringEscapeUtils" %>
<%
ContentHandler handler = new ContentHandler(request,response);
String target = (String) request.getAttribute("target");
String uname = (String)request.getAttribute("username");
if ( uname == null )
uname = "";
uname = StringEscapeUtils.escapeHtml(uname);
if ( target != null )
target = StringEscapeUtils.escapeHtml(target);
%>
UUM Single Sign-On
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ page import="java.util.*" %>
<%@ page import="com.novell.nidp.*" %>
<%@ page import="com.novell.nidp.servlets.*" %>
<%@ page import="com.novell.nidp.resource.*" %>
<%@ page import="com.novell.nidp.resource.jsp.*" %>
<%@ page import="com.novell.nidp.ui.*" %>
<%@ page import="org.apache.commons.lang.StringEscapeUtils" %>
<%
ContentHandler handler = new ContentHandler(request,response);
String target = (String) request.getAttribute("target");
String uname = (String)request.getAttribute("username");
if ( uname == null )
uname = "";
uname = StringEscapeUtils.escapeHtml(uname);
if ( target != null )
target = StringEscapeUtils.escapeHtml(target);
%>
Nilesh ShahPosted Feb 14, 2017, 11:15 AM