struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rochris (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-3993) How to implement simple CRUD application
Date Mon, 02 Jun 2014 16:09:03 GMT

    [ https://issues.apache.org/jira/browse/WW-3993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14015495#comment-14015495
] 

rochris commented on WW-3993:
-----------------------------

About Login screen : Done. ( But only with LoginAction.java - LoginAction-validation.xml -loginForm.jsp
and some lines in struts.xml )
But, I would like to write/use or add
- how to check user/password via an external ressource (LDAP) ?
- Do I have to use implements SessionAware in LoginAction.java ?
- add or not boolean isAutorizedUser ?
- Do I have to add interceptors  in struts.xml ? 
...
    <action name="index">
            <result>/WEB-INF/jsp/loginForm.jsp</result>
        </action>
		
                
        <action name="*login" class="org.apache.struts.example.crud.action.LoginAction"
method="execute">
            <result name="success" type="redirectAction">liste</result>
            <result name="input">/WEB-INF/jsp/loginForm.jsp</result>
        </action>
                

> How to implement simple CRUD application
> ----------------------------------------
>
>                 Key: WW-3993
>                 URL: https://issues.apache.org/jira/browse/WW-3993
>             Project: Struts 2
>          Issue Type: Sub-task
>          Components: Example Applications
>            Reporter: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.3.18
>
>         Attachments: crud-with-maven.7z, crud-with-maven.7z
>
>
> Rewrite to Maven based project and with the latest Struts version
> https://cwiki.apache.org/confluence/display/WW/CRUD+Demo+I



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message