• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
You have to be odd to be #1 - Seuss. An odd little ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic