Re: [opennms-devel] How to get group(s) for login user

Azure <[email protected]> Fri, 29 May 2009 11:56:47 +0800
Newsgroups gmane.network.opennms.bugs,gmane.network.opennms.devel
Message-ID <[email protected]>
--===============5002099624983059099==
Content-Type: multipart/alternative; boundary=001636af0342f50037046b051152

--001636af0342f50037046b051152
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

BTW

my OpenNMS version is 1.6.1

On Fri, May 29, 2009 at 11:55 AM, Azure <[email protected]> wrote:

> Hi All
>
> currently I am testing new jsp page under opennms web site.
>
> In this page, I want to get group belong to login user.
>
> But I am not able to do that until now.
>
> I try the following but not success
>
> private GroupDao m_groupDao;
> List<Group> groups =
> this.m_groupDao.findGroupsForUser(request.getRemoteUser());
>
> Please advise me.
>
> Bgrds
>
> Athena
>

--001636af0342f50037046b051152
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

BTW<br><br>my OpenNMS version is 1.6.1<br><br><div class=3D"gmail_quote">On=
 Fri, May 29, 2009 at 11:55 AM, Azure <span dir=3D"ltr">&lt;<a href=3D"mail=
to:[email protected]">[email protected]</a>&gt;</span> wrote:<br><blo=
ckquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204,=
 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi All<br><br>currently I am testing new jsp page under opennms web site.<b=
r><br>In this page, I want to get group belong to login user.<br><br>But I =
am not able to do that until now.<br><br>I try the following but not succes=
s<br>


<br>private GroupDao m_groupDao;<br>List&lt;Group&gt; groups =3D this.m_gro=
upDao.findGroupsForUser(request.getRemoteUser());<br><br>Please advise me.<=
br><br>Bgrds<br><br>Athena<br>
</blockquote></div><br>

--001636af0342f50037046b051152--


--===============5002099624983059099==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
--===============5002099624983059099==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel
--===============5002099624983059099==--