I have FBA (form_based_authentication) on my SP site, so thi first login site is login.aspx. Now there is following problem: users are coming from another site on the sharepoint. Herefor they using some kind of private key. The Public key is on the sharepoint webserver.
What I´m trying to do now is to modify the login.aspx with following example code I get from the creator of this mechanism, but I dont really know where to paste ist:
"<% String ct = Request.Params["ct"];
String sp = Request.Params["sp"];
ctf.TicketEvaluator e = new ctf.TicketEvaluator(Server.MapPath("keys"), 0);
String payload = e.evaluateClassicTicketAsString(ct,sp,300000000,"lohn");
%>
This was your payload: <%= payload %>
"
As a standalone .NET project it works fine, but I don´t have any idea how to put it into login.aspx.
Thanks a lot, fiuman007