This sample shows how to filter access to a Page Flow based on the user's role membership.
Linking to a nested Page Flow
Receiving parameters from a nested Page Flow
User authentication (username/password authentication)
Using the @jpf:action login-required="true" annotation
Using the @jpf:forward return-to... annotation
In the SamplesApp, the samples are located at:
SamplesApp/WebApp/security/roleBasedSecurity/roleBasedSecurityController.jpf
[BEA_HOME]\weblogic81\samples\workshop\SamplesApp\WebApp\security\roleBasedSecurity\roleBasedSecurityController.jpf
To Run the Samples
Start WebLogic Server in the Workshop domain.
On Microsoft Windows systems, run
[BEA_HOME]/weblogic81/samples/domains/workshop/startWebLogic.cmd
On Linux or Solaris systems, run:
[BEA_HOME]/weblogic81/samples/domains/workshop/startWebLogic.sh
Launch the page flows either by opening security/roleBasedSecurity/roleBasedSecurityController.jpf
in WebLogic Workshop and clicking the Start button or by entering
http://localhost:7001/WebApp/security/roleBasedSecurity/roleBasedSecurityController.jpf
in the address bar of your browser.
If WebLogic Server is running in the Workshop domain on your machine,
you may click
here to run the Form Based sample.