Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Understanding Authentication

4 posts in Java J2EE specific Last posting was on 2006-07-08 04:41:54.0Z
Rob Martin Posted on 2006-07-05 02:56:37.0Z
From: "Rob Martin" <rob.martin@work.com>
Newsgroups: sybase.public.easerver.j2ee
Subject: Understanding Authentication
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1807
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807
X-Original-NNTP-Posting-Host: cpe-61-9-142-108.vic.bigpond.net.au
Message-ID: <44ab290e@forums-2-dub>
X-Original-Trace: 4 Jul 2006 19:50:54 -0700, cpe-61-9-142-108.vic.bigpond.net.au
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 4 Jul 2006 19:50:57 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 4 Jul 2006 19:56:37 -0700
X-Trace: forums-1-dub 1152068197 10.22.108.75 (4 Jul 2006 19:56:37 -0700)
X-Original-Trace: 4 Jul 2006 19:56:37 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7678
Article PK: 208130

Hi...

This is an area I've not worked with before: login authentication. We have a
page that looks up user/password from database (or tries a login to the
database for different user types). That's ok, but if we had a requirement
for a local user (lets say, within the office, same network) to be able to
enter the system without having to enter user/password, is that possible
with 'authentication'?

I assume we could write - or call - something that can return ok that the
user coming in (request) is from a logged in pc on the network, we can then
divert past the login jsp page. Is that the right understanding, is that
possible?

What would be the best example/resource to look at? (going to check
easerver's help as well, but a general understanding pointer, and if I'm on
the right track with being able to do this would be appreciated).

Help/pointers appreciated
Thanks folks
Rob


Rob Martin Posted on 2006-07-05 11:16:20.0Z
From: "Rob Martin" <Rob@home>
Newsgroups: sybase.public.easerver.j2ee
References: <44ab290e@forums-2-dub>
Subject: Re: Understanding Authentication
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1807
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807
NNTP-Posting-Host: cpe-144-132-108-209.vic.bigpond.net.au
X-Original-NNTP-Posting-Host: cpe-144-132-108-209.vic.bigpond.net.au
Message-ID: <44ab9f84@forums-1-dub>
Date: 5 Jul 2006 04:16:20 -0700
X-Trace: forums-1-dub 1152098180 144.132.108.209 (5 Jul 2006 04:16:20 -0700)
X-Original-Trace: 5 Jul 2006 04:16:20 -0700, cpe-144-132-108-209.vic.bigpond.net.au
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7680
Article PK: 208131


> I assume we could write - or call - something that can return ok that the
> user coming in (request) is from a logged in pc on the network, we can
then
> divert past the login jsp page. Is that the right understanding, is that
> possible?

or.. at least, does anyone know if its possible to read from the 'active
directory'?

Thanks


"Alexander Pire" <Alexander_no_spam_ Posted on 2006-07-08 03:03:51.0Z
From: "Alexander Pire" <Alexander_no_spam_@powerobjects_dot_com>
Newsgroups: sybase.public.easerver.j2ee
References: <44ab290e@forums-2-dub> <44ab9f84@forums-1-dub>
Subject: Re: Understanding Authentication
Lines: 29
Organization: PowerObjects
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-Original-NNTP-Posting-Host: 71-215-236-220.mpls.qwest.net
Message-ID: <44af1f2f$1@forums-2-dub>
X-Original-Trace: 7 Jul 2006 19:57:51 -0700, 71-215-236-220.mpls.qwest.net
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 7 Jul 2006 19:57:54 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 7 Jul 2006 20:03:51 -0700
X-Trace: forums-1-dub 1152327831 10.22.108.75 (7 Jul 2006 20:03:51 -0700)
X-Original-Trace: 7 Jul 2006 20:03:51 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7682
Article PK: 208132

You can use javax.naming.directory package, You can use it direct in your
JSP or in your components in EAServer. You can use it to check if an user
have access to any LDAP/AD.

--

Alexander Pire
PowerObjects
www.powerobjects.com
612.339.3355
**IT Solutions - Outside the Box**

"Rob Martin" <Rob@home> wrote in message news:44ab9f84@forums-1-dub...
>
>> I assume we could write - or call - something that can return ok that the
>> user coming in (request) is from a logged in pc on the network, we can
> then
>> divert past the login jsp page. Is that the right understanding, is that
>> possible?
>
> or.. at least, does anyone know if its possible to read from the 'active
> directory'?
>
> Thanks
>
>


Rob Martin Posted on 2006-07-08 04:41:54.0Z
From: "Rob Martin" <Rob@home>
Newsgroups: sybase.public.easerver.j2ee
References: <44ab290e@forums-2-dub> <44ab9f84@forums-1-dub> <44af1f2f$1@forums-2-dub>
Subject: Re: Understanding Authentication
Lines: 38
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1807
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807
X-Original-NNTP-Posting-Host: cpe-144-132-106-178.vic.bigpond.net.au
Message-ID: <44af3628$1@forums-2-dub>
X-Original-Trace: 7 Jul 2006 21:35:52 -0700, cpe-144-132-106-178.vic.bigpond.net.au
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 7 Jul 2006 21:35:55 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 7 Jul 2006 21:41:54 -0700
X-Trace: forums-1-dub 1152333714 10.22.108.75 (7 Jul 2006 21:41:54 -0700)
X-Original-Trace: 7 Jul 2006 21:41:54 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.easerver.j2ee:7684
Article PK: 208133

Thanks

"Alexander Pire" <Alexander_no_spam_@powerobjects_dot_com> wrote in message
news:44af1f2f$1@forums-2-dub...
> You can use javax.naming.directory package, You can use it direct in your
> JSP or in your components in EAServer. You can use it to check if an user
> have access to any LDAP/AD.
>
> --
>
> Alexander Pire
> PowerObjects
> www.powerobjects.com
> 612.339.3355
> **IT Solutions - Outside the Box**
>
>
> "Rob Martin" <Rob@home> wrote in message news:44ab9f84@forums-1-dub...
> >
> >> I assume we could write - or call - something that can return ok that
the
> >> user coming in (request) is from a logged in pc on the network, we can
> > then
> >> divert past the login jsp page. Is that the right understanding, is
that
> >> possible?
> >
> > or.. at least, does anyone know if its possible to read from the 'active
> > directory'?
> >
> > Thanks
> >
> >
>
>