any advice on how to modify the login.jsp page?

Karla Borecky kborecky at smith.edu
Tue Apr 17 18:13:46 BST 2012


Holly, could you possibly branch the behavior based on an attribute (after
the authentication)? or is this something that has to happen to actually
process the login in different ways?

On Mon, Apr 16, 2012 at 4:31 PM, Wang, Holly <holly.wang at csun.edu> wrote:

> Hi,
>
> I am asked to modify shib login.jsp page so the form with take multiple
> submit command. Depending on the submit button value, we send the form to
> different places.
>
> I did some testing, tried to add a new jsp page to handle it. But I can't
> find a place to define the servlet definition for the new jsp page.
>
> Does anyone has an example on the login.jsp which takes multiple submit
> commend?
>
> Current login.jsp form:
>
> <form action="j_security_check" method="post" autocomplete="off">
> <input type="text" id="uid" name="j_username" style="width:100px"
> value=""/>
> <input type="password" name="j_password" style="width:100px"/>
> <input type="submit" value="Login" />
> </form>
>
>
> We want it to be like following, but action lead to different places per
> the submit value:
>
> <form action=" "  method="post" autocomplete="off">
> <input type="text" id="uid" name="j_username" style="width:100px"
> value=""/>
> <input type="password" name="j_password" style="width:100px"/>
> <input type="submit" value="Login" />
> <input value="moodleadmin" type="submit" name="moodleadmin"
> id="moodleadmin">
> </form>
>
> thanks
>
> Holly Wang, IT Department  CSUN, 818-677-2031
>
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>



-- 
Karla Borecky
Systems Administrator
ITS
Smith College
Northampton, MA 01063
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20120417/1f389aaf/attachment.html 


More information about the users mailing list