You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Floßmann Christoph <Ch...@volke-muc.de> on 2004/06/03 17:15:33 UTC

AnonUser Page differs on browser

Hi,

I don't know whether I configured sth. wrong or if it is an known issue. With the IE everything works fine when I'm addressing localhost:8080/jetspeed the defined page from default.psml in the anon directory is opened. Trying this in Friefox fails. Some other page is shown and I didn't figure aut yet why this happens.
Any suggestions?

Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


RE: RegistryAccessController & GroupRole

Posted by Mark Orciuch <ma...@ngsltd.com>.
If you don't specify group in the security ref definition, it defaults to
"Jetspeed". So in your case, the definition should be:

         <access action="*">
             <allow-if role="Developer" group="FedEx"/>
         </access>

Then enroll your users in FedEx with role Developer.

Best regards,

Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: mark_orciuch@ngsltd.com
web: http://www.ngsltd.com


> -----Original Message-----
> From: Anthony Smith [mailto:anthony.smith@fedex.com]
> Sent: Thursday, June 03, 2004 4:52 PM
> To: Jetspeed Users List
> Subject: RegistryAccessController & GroupRole
>
>
> Now that this has changed form 1.4 to 1.5, I am a bit confused on how to
> structure my security.xreg file.
>
> Since we now use GroupRole, how would I declare my access tag for
> a security
> entry?
>
> Originally I could say:
>
>         <access action="*">
>             <allow-if role="Developer"/>
>         </access>
>
> Well if I have a group called FedEx how do I establish my group in the tag
> above?
>
> Just using role does not allow me to have access to the portlet.
>
> This statement always return false:
> securityEntry.allowsGroupRole(groupname, rolename, action)
>
>
> BTW, it works fine when I add a particular user in the security.xreg
>
> Maybe I should uncomment that code in the RegistryAccessController?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


RegistryAccessController & GroupRole

Posted by Anthony Smith <an...@fedex.com>.
Now that this has changed form 1.4 to 1.5, I am a bit confused on how to
structure my security.xreg file.

Since we now use GroupRole, how would I declare my access tag for a security
entry?

Originally I could say:

        <access action="*">
            <allow-if role="Developer"/>
        </access>

Well if I have a group called FedEx how do I establish my group in the tag
above?

Just using role does not allow me to have access to the portlet.

This statement always return false:
securityEntry.allowsGroupRole(groupname, rolename, action)


BTW, it works fine when I add a particular user in the security.xreg

Maybe I should uncomment that code in the RegistryAccessController?


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: AnonUser Page differs on browser

Posted by Raphael Luta <ra...@apache.org>.
Floßmann Christoph wrote:
> Hi,
> 
> I don't know whether I configured sth. wrong or if it is an known issue. With the IE everything works fine when I'm addressing localhost:8080/jetspeed the defined page from default.psml in the anon directory is opened. Trying this in Friefox fails. Some other page is shown and I didn't figure aut yet why this happens.
> Any suggestions?
> 
> Chris

If you are redirected to a site named "www.localhost.xx", it's simply 
that FireFox could not contact your site and redirected you to an 
"related" Internet site through its keywords feature.

If you're sure your server is up & running and accessible from your 
client, then this is probably caused by an incorrectly configured
jetspeed that send a 302 redirect to a mistyped URL.

If you need to validate this, download and activate the LiveHTTPHeaders
plugins of firefox. It will let you easily see the different 
requests/repsonses issued and recieved by the browser.

-- 
Raphaël Luta - raphael@apache.org
Apache Jetspeed - Enterprise Portal in Java
http://portals.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org