You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tiles.apache.org by VanillaJelly <gi...@git.apache.org> on 2018/05/23 01:50:13 UTC

[GitHub] tiles pull request #13: Tiles 3 0 x how to define security role in tiles con...

GitHub user VanillaJelly opened a pull request:

    https://github.com/apache/tiles/pull/13

    Tiles 3 0 x how to define security role in tiles config file?

    reference page : http://tiles.apache.org/framework/tutorial/advanced/security.html
    1、in XML definition files:
            <definition name="test.definition"   template="/layout/my-template.jsp>
                     <put-attribute name="header" value="/header.jsp" role="myrole" />
             </definition>
    2、in JSP pages, when inserting attributes:
              <tiles:insertAttribute name="header" role="myrole" />
    The "header" attribute of the page is blank,How to define the security role?

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/tiles TILES_3_0_X

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tiles/pull/13.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #13
    
----
commit 8c1738d719919540492012047e360ba66fe6ba21
Author: Nicolas LE BAS <nl...@...>
Date:   2012-05-04T22:27:37Z

    [maven-release-plugin]  copy for branch TILES_3_0_X
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1334240 13f79535-47bb-0310-9956-ffa450edef68

commit 057b258761ced64e3fbc6a1bf41b381cb1d1e6fc
Author: Nicolas LE BAS <nl...@...>
Date:   2012-05-04T22:55:01Z

    [maven-release-plugin] prepare release tiles-parent-3.0.0
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1334246 13f79535-47bb-0310-9956-ffa450edef68

commit 5b5d43bc2149f800941f946033b3cab6a8052a47
Author: Nicolas LE BAS <nl...@...>
Date:   2012-05-04T22:55:16Z

    [maven-release-plugin] prepare for next development iteration
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1334248 13f79535-47bb-0310-9956-ffa450edef68

commit 27d76830ad9348d2c54f324be4cbbcf78e9798de
Author: Nicolas LE BAS <nl...@...>
Date:   2012-07-11T19:45:40Z

    TILES-549 - Improve code quality (post 3.0 release)
    TILES-552: Update the poms and the documentation on the release process
    TILES-548: mvn release:perfom fails on Maven 3.0.4
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1360370 13f79535-47bb-0310-9956-ffa450edef68

commit d5f20ef07e717ab54f9b5df38ee5f269903a4fc8
Author: Nicolas LE BAS <nl...@...>
Date:   2012-07-11T19:52:00Z

    update to autotag 1.1
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1360373 13f79535-47bb-0310-9956-ffa450edef68

commit 5a6180caa028b4844c77925d8b34dc9fdeb5d86e
Author: Nicolas LE BAS <nl...@...>
Date:   2012-07-11T19:53:04Z

    TILES-548: mvn release:perfom fails on Maven 3.0.4
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1360374 13f79535-47bb-0310-9956-ffa450edef68

commit cba6cb060e96f618a790dad68a33520b2d28231b
Author: Nicolas LE BAS <nl...@...>
Date:   2012-07-11T19:59:22Z

    [maven-release-plugin] prepare release tiles-parent-3.0.1
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1360375 13f79535-47bb-0310-9956-ffa450edef68

commit e2d70b5388532e49a49820e0662234122db8af44
Author: Nicolas LE BAS <nl...@...>
Date:   2012-07-11T19:59:59Z

    [maven-release-plugin] prepare for next development iteration
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1360377 13f79535-47bb-0310-9956-ffa450edef68

commit 0261c4cd641f4e6f0bb19293ad8b5c11bcd24762
Author: Nicolas LE BAS <nl...@...>
Date:   2012-07-11T21:53:17Z

    [maven-release-plugin] rollback the release of tiles-parent-3.0.1
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1360430 13f79535-47bb-0310-9956-ffa450edef68

commit af6818ddb4b80246ec81aa77c1b0a4bf0915dcb9
Author: Nicolas LE BAS <nl...@...>
Date:   2012-07-11T21:58:20Z

    TILES-548: mvn release:perfom fails on Maven 3.0.4
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1360431 13f79535-47bb-0310-9956-ffa450edef68

commit b17200394c43f302c3ac7582b9ab737ec6b2e247
Author: Nicolas LE BAS <nl...@...>
Date:   2012-07-11T22:02:32Z

    [maven-release-plugin] prepare release tiles-parent-3.0.1
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1360434 13f79535-47bb-0310-9956-ffa450edef68

commit edc09b27b37fbe54d9b2c318c6f1bfc5382a43ea
Author: Nicolas LE BAS <nl...@...>
Date:   2012-07-11T22:03:45Z

    [maven-release-plugin] prepare for next development iteration
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1360441 13f79535-47bb-0310-9956-ffa450edef68

commit ca1adae758566624b3e9de84c262f1c6baef02e5
Author: Michael Semb Wever <mc...@...>
Date:   2013-01-01T22:22:03Z

    backport r1427572
     `svn merge -c1427572 ^/tiles/framework/trunk`
     http://svn.apache.org/viewvc?view=revision&revision=1427572
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1427575 13f79535-47bb-0310-9956-ffa450edef68

commit 07566821bc2945ff0b6ac2048686b8665826d599
Author: Michael Semb Wever <mc...@...>
Date:   2013-01-02T08:48:38Z

    backport doc improvements from Michael Isvy
     `svn merge -c1427704 ^/tiles/framework/trunk`
     http://svn.apache.org/viewvc?view=revision&revision=1427704
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1427705 13f79535-47bb-0310-9956-ffa450edef68

commit 828ae531fe24b447697626954dd556a8f44b278f
Author: Nicolas LE BAS <nl...@...>
Date:   2013-03-05T02:17:58Z

    TILES-563: Typo on configuration tiles 3 page
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1452632 13f79535-47bb-0310-9956-ffa450edef68

commit 8b053189df1c51269b2f8e0b64e9cd483592caf2
Author: Michael Semb Wever <mc...@...>
Date:   2013-05-19T16:33:46Z

    have the constant public. 
     there is no way currently to evaluate the fallback in the attribute, only to render it.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1484307 13f79535-47bb-0310-9956-ffa450edef68

commit a2767c185886d85686080ac1a2c0bade85b85726
Author: Michael Semb Wever <mc...@...>
Date:   2013-05-19T16:46:51Z

    back port from trunk r1368433 (TILES-557) and r1422025
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1484309 13f79535-47bb-0310-9956-ffa450edef68

commit 83476107ec74893abe8abf1b1a4237e92430fad5
Author: Michael Semb Wever <mc...@...>
Date:   2013-05-27T10:24:04Z

    add link to Download page on each microsite
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1486560 13f79535-47bb-0310-9956-ffa450edef68

commit 2a2e7d1221030f85f94f3097c55c14ae4423e7d9
Author: Michael Semb Wever <mc...@...>
Date:   2013-05-27T11:16:52Z

    compile against Java6
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1486577 13f79535-47bb-0310-9956-ffa450edef68

commit 9ca0d6e222342f11f133c15f569d00fd76b2e413
Author: Michael Semb Wever <mc...@...>
Date:   2013-10-28T18:02:06Z

    upgrade to tiles-master-5.
    upgrade to svnpubsub system using maven-scm-publish-plugin.
    update the release and building pages for devs (svnpubsub, and referencing existing apache docs).
    Update release documentation: build requires Java7, and build requires maven-3.0.5+
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1536457 13f79535-47bb-0310-9956-ffa450edef68

commit b98027f37052fed1cfdbcd583e1adb3ba6cc0f85
Author: Michael Semb Wever <mc...@...>
Date:   2013-11-03T10:48:49Z

    Use the new tiles-master-6
     http://thread.gmane.org/gmane.comp.apache.tiles.devel/595
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1538333 13f79535-47bb-0310-9956-ffa450edef68

commit 816f7945df4a887e5a356c7057a445094ef14389
Author: Michael Semb Wever <mc...@...>
Date:   2013-11-03T11:18:22Z

    [maven-release-plugin] prepare release tiles-parent-3.0.2
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1538337 13f79535-47bb-0310-9956-ffa450edef68

commit abc80cc599b4ef47202a6ee00c370daa02a42a46
Author: Michael Semb Wever <mc...@...>
Date:   2013-11-03T11:19:58Z

    [maven-release-plugin] prepare for next development iteration
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1538339 13f79535-47bb-0310-9956-ffa450edef68

commit d02515da434e9179a8b7c97d23891b6a959d533f
Author: Michael Semb Wever <mc...@...>
Date:   2013-11-03T15:47:10Z

    lessons learnt from the tiles-3.0.2 release
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1538384 13f79535-47bb-0310-9956-ffa450edef68

commit 276a7258b1136138f1ab14b14ce235d6f0752d56
Author: Michael Semb Wever <mc...@...>
Date:   2013-11-06T16:24:13Z

    TILES-573 – Tiles.xml definitions not reloaded when using expressions
    Contribution from Eric B.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1539385 13f79535-47bb-0310-9956-ffa450edef68

commit 9477bdc0ba44ef1f37506826c68fc9efa69369b4
Author: Michael Semb Wever <mc...@...>
Date:   2013-11-06T22:16:12Z

    [maven-release-plugin] prepare release tiles-parent-3.0.3
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1539477 13f79535-47bb-0310-9956-ffa450edef68

commit 5192836f2570cbd36fb83362a995fa3e5b3759b9
Author: Michael Semb Wever <mc...@...>
Date:   2013-11-06T22:17:06Z

    [maven-release-plugin] prepare for next development iteration
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1539480 13f79535-47bb-0310-9956-ffa450edef68

commit d391ba1e34203be0990f93ad73fafa57c2e48f09
Author: Michael Semb Wever <mc...@...>
Date:   2013-11-07T22:09:46Z

    fix documentation after feedback from Emi Lu.
    Reference: http://article.gmane.org/gmane.comp.apache.tiles.user/661
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1539840 13f79535-47bb-0310-9956-ffa450edef68

commit b347a93487bf8ece569f68c4f70db18fec6bdeef
Author: Michael Semb Wever <mc...@...>
Date:   2013-11-07T22:11:13Z

    -Duser.name needs to be defined inside the deploy goal too
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1539841 13f79535-47bb-0310-9956-ffa450edef68

commit b19a0eb2e0b3e53d5fd0df77d22fc376d26963cc
Author: Michael Semb Wever <mc...@...>
Date:   2013-11-07T22:11:58Z

    add mustache to the list of templating languages supported
    
    
    git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X@1539842 13f79535-47bb-0310-9956-ffa450edef68

----


---