You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Toro Projects
Hi,
One of my tasks this summer is to get our toro briefcase portlet to
include our user's home directory using webDAV. I was previously told
that I need to create a Resource Factory much like the
FsResourceFactory or RdbmsResourceFactory that will connect to our
WebDAV server. But thinking ahead I am also wondering what access
broker I will need to use (JvmAccessBroker) or will I need to write my
own? I'm not really sure what the access broker's purpose is, as I am
trying to figure out everything.
Any clarifications or suggestions would be very helpful.
Thanks,
Laura
Andrew Wills
unread,
Jul 10, 2008, 4:04:09 PM7/10/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to toro-p...@googlegroups.com
The AccessBroker's responsibility is to associate a level of access (e.g. VIEW, EDIT, DELETE) with a resource and a principal (i.e. user).
Inside the BriefcasePortlet, the Java code uses an AccessBroker instance to fetch instances of ResourceFactory that describe resources that users may access.
I think it's unlikely you'll have to write a new AccesBroker implementation.
drew wills
loulou2u
unread,
Jul 10, 2008, 5:15:17 PM7/10/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Toro Projects
Oh ok, that makes sense.
Thanks for the help.
-Laura
On Jul 10, 3:04 pm, "Andrew Wills" <wills.d...@gmail.com> wrote:
> The AccessBroker's responsibility is to associate a level of access
> (e.g. VIEW, EDIT, DELETE) with a resource and a principal (i.e. user).
>
> Inside the BriefcasePortlet, the Java code uses an AccessBroker
> instance to fetch instances of ResourceFactory that describe resources
> that users may access.
>
> I think it's unlikely you'll have to write a new AccesBroker implementation.
>
> drew wills
>
loulou2u
unread,
Jul 14, 2008, 2:16:33 PM7/14/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Toro Projects
Do you happen to know if there is a way to access the username in a
factory resource without using the PortletRequest?
loulou2u
unread,
Jul 14, 2008, 5:49:30 PM7/14/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Toro Projects
Nevermind, I actually figured out that I could use the
UserAttributeManager class to get the Attributes.