Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Anonymous_User Absent Member.
Absent Member.
540 views

LDAPGroupDataElement.java


Hey All,

I had some questions about using this sample code as a policy extension
within NAM.

First are the configuration parameters IDs the IDs specified in the
code? For example:

private static final String DEBUG_NAME = "Debug";
private static final int EV_DEBUG = 91;

In that case could I use "Debug(name) - 91(ID) - true(constant string)"
as my parameter?

Does anyone have example code or screenshots I can take a look at
because the documentation has left me stuck with no solution. Every time
I try to access my protected source I get the following error:

Status: 500 Internal Server Error
Description: Access Gateway couldn't find the needed policy from
service provider. It might be just coming up. If refreshing the browser
after a few seconds doesn't clear this error condition, please contact
your Administrator.
If this condition persists, please contact the helpdesk.

I used Netbeans and built the nxpe.jar library and my
LDAPGroupDataElement.java into one single jar file that I uploaded and
created.

Any help would be greatly appreciated at this point.

Thank you
kas


--
rassoulikas
------------------------------------------------------------------------
rassoulikas's Profile: http://forums.novell.com/member.php?userid=70339
View this thread: http://forums.novell.com/showthread.php?t=443354

Labels (1)
0 Likes
1 Reply
Anonymous_User Absent Member.
Absent Member.

Re: LDAPGroupDataElement.java

Answers below

On 2011-08-18 01:46:02 +0200, rassoulikas said:

> Hey All,
>
> I had some questions about using this sample code as a policy extension
> within NAM.
>
> First are the configuration parameters IDs the IDs specified in the
> code? For example:
>
> private static final String DEBUG_NAME = "Debug";
> private static final int EV_DEBUG = 91;
>
> In that case could I use "Debug(name) - 91(ID) - true(constant string)"
> as my parameter?


Yes.

>
> Does anyone have example code or screenshots I can take a look at
> because the documentation has left me stuck with no solution. Every time
> I try to access my protected source I get the following error:
>
> Status: 500 Internal Server Error
> Description: Access Gateway couldn't find the needed policy from
> service provider. It might be just coming up. If refreshing the browser
> after a few seconds doesn't clear this error condition, please contact
> your Administrator.
> If this condition persists, please contact the helpdesk.


This sounds like a policy configuration error.
Since this error concerns the Access Gateway, and your example code is
for an Identity Provider extension, I think this may be a separate
issue.

>
> I used Netbeans and built the nxpe.jar library and my
> LDAPGroupDataElement.java into one single jar file that I uploaded and
> created.


The nxpe.jar is already present in Access Manager and you do not need
to include it.

>
> Any help would be greatly appreciated at this point.
>
> Thank you
> kas


My suggestion:
1. remove the extension from your policy configurations
2. test if you can access the protected resource
3a. If yes, configure the extension and make use of it in a policy,
test, and maybe come back here
3b. If no, post your error message in the novell.support.access-manager
forum (which is way more active than this one).

Good luck,

Mark


--
i d f o c u s
Identity | Access | Security
http://www.idfocus.nl

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.