Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JetSpeed 2 Portal Server Profiling rule in j2-seed.xml

 
Sajid Mahmood
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i have created a profiling rule in j2-seed.xml in JetSpeed 2 portal server and apply the profiling rule on guest user

<ProfilingRule id="redirectToLogin" standardRule="true">
<description value="The security profiling rule needed for
credential change requirements."/>
<Criteria>
<Criterion name="page">
<type value="hard.coded"/>
<value value="/MyPage.psml"/>
<fallBackOrder value="0"/>
<fallBackType value="0"/>
</Criterion>
</Criteria>
</ProfilingRule>

User creation:

<User name="guest">
<Null/>
<roles>guest</roles>
<groups></groups>
<preferences/>
<userinfo/>
<Rules>
<Rule locator="page" rule="redirectToLogin"/>
</Rules>
</User>

but when i access the url http://localhost:8080 , it open its default-page.psml. Please give my any hint i want to open MyPage.psml as default page which i mentioned in profiling rule.

Thanks in advance
Regards,
Sajid
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic