|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Bannato
Iscritto dal: Feb 2003
Messaggi: 585
|
Programmatore Php Java
Mi serve un programmatore java e php che ci sappia fare. Ho bisogno di inserire i dati utenti da una pagina ad un altra, praticamente devo fare quello che fa un sito pishing, solo che i dati non me li devo tenere,li devo solo far passare, mi serve urgente per la tesi. Sarebbe gradita anhe la conoscenza di SAML, non è necesaria. Datemi una mano
|
![]() |
![]() |
![]() |
#2 |
Bannato
Iscritto dal: Jan 2003
Città:
Messaggi: 4421
|
...deduco che tu stia parlando di un form che sia in grado di salvare nella session parte delle informazioni che esso richiede...in che linguaggio è scritto tale form?...java o php...struttura delle pagine?...i dati passati da una pagina all'altra come verranno usati?...
...ciao... |
![]() |
![]() |
![]() |
#3 |
Bannato
Iscritto dal: Feb 2003
Messaggi: 585
|
allora, io ho i sorgenti di questo programma, per intenderci sono circa 130mb ... a me interessa la parte di login, di java non ne so nulla e da quel poco che sto capendo vengono richiamate un casino di funzioni, è per questo che non riesco a capire ne in che forma vengono passati i dati ne a che indirizzo!!!
questo è il file di login è un.jsp quindi penso sia un qualcosa di richiamato Codice:
<%@ page language="java" import="java.util.*" %> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %> <% String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; String queryString = request.getQueryString(); String ca_domain_suffix = getServletContext().getInitParameter("CA-xxx.domain.suffix"); String smartCardLoginRedirectURL = (String)request.getAttribute("smartcardLoginRedirectURL"); %> <!--DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"--> <html> <head> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="0"> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="This is my page"> <title> CA-xxx1 - Autenticazione </title> <link rel="stylesheet" href="styles/signIn.css" /> </head> <body> <span style="top: 0;left: 0; font-weight: bold; font-size: 18pt; color: #3300FF;background-color: #E5E8EC;"> <%@ include file="./include/header.jsp" %> </span> <% String userID = (String)request.getParameter("uid"); String userpwd = (String)request.getParameter("upwd"); String targetRedirect = (String)request.getParameter("TARGET"); String authType = (String)request.getParameter("authType"); String upwdValue = null; if (authType==null) authType = (String) request.getAttribute("authType"); String errorMessage = (String)request.getAttribute("errorMessage"); %> <br><br><br><br> <div id="signInBox" align="center"> <div id="header"> <div id="logo"> <img src="images/logo.png" width="200" height="40" alt="xxxImg" /> </div> </div> <form action="<c:url value="/login"/>" method="post"> <input type="hidden" name="hasLoginData" value="true"/> <% String authTypeValue = ("strong".equalsIgnoreCase(authType)) ? "strong" : "weak"; %> <input type="hidden" name="authType" value="<%=authTypeValue%>"/> <% String targetValue = (targetRedirect==null) ? "" : targetRedirect; %> <input type="hidden" name="TARGET" value="<%=targetRedirect%>"/> <div id="form"> <table align="center"> <tr> <th> Username: </th> <td> <% String uidValue = (userID==null) ? "" : userID; %> <input type="text" name="uid" size="60" value="<%=uidValue%>"/> </td> </tr> <tr> <% if ("weak".equalsIgnoreCase(authType)) {%> <th> Password: </th> <td> <% if (userpwd==null) %> <% upwdValue = (userpwd==null) ? "" : userpwd; %> <input type="password" name="upwd" size="60" value="<%=upwdValue%>"/> </td> <% } else { %> <th> PIN: </th> <td> <input type="password" name="upwd" size="60" /> </td> <% } //endif %> </tr> </table> </div> <div id="actions" align="right"> <input type="image" src="images/signInButton.png" height="22" width="66" border="0" alt="Login" value="Login" /> <!--<a href="links.html"><img src="images/signInButton.png" height="22" width="66" alt="Login" border="0" /></a> --> </div> </form> <% if (errorMessage != null) { %> <div align="center"><%=errorMessage%></div> <% } %> </div> <% request.removeAttribute("errorMessage"); %> </body> </html> |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 19:42.