ncalligaro Absent Member.
Absent Member.
374 views

Custom Java class for Form Fill


Hi all,

I have an eDirectory with an encrypted attribute on each user which
needs to be decrypted by NAM and then injected on a site. The thing is
this site does not support Basic Auth and the custom java classes for
identity injection only work if you're using identity injection and not
form fill. Is there any other way to get the output of a custom java
class into a field using form fill? I can see that the options
available when using form fill are much more limited than when using
identity injection, do you know if there is a technical reason for that
?

Regards,


--
ncalligaro
------------------------------------------------------------------------
ncalligaro's Profile: http://forums.novell.com/member.php?userid=692
View this thread: http://forums.novell.com/showthread.php?t=451666

0 Likes
5 Replies
afolli Absent Member.
Absent Member.

Re: Custom Java class for Form Fill


Hi,
I think that you can create your own Authentication Class in order to
load the value on Customizable Strings. Subsequently, you can use that
value on Form Fill policies.
You can find some hints on this thread:

http://forums.novell.com/novell/product-neutral/developers/dev-access-manager/415440-set-value-shared-secret-custom-auth-class.html

Best regards,

Alessandro



ncalligaro;2172440 Wrote:
> Hi all,
>
> I have an eDirectory with an encrypted attribute on each user which
> needs to be decrypted by NAM and then injected on a site. The thing is
> this site does not support Basic Auth and the custom java classes for
> identity injection only work if you're using identity injection and not
> form fill. Is there any other way to get the output of a custom java
> class into a field using form fill? I can see that the options
> available when using form fill are much more limited than when using
> identity injection, do you know if there is a technical reason for that
> ?
>
> Regards,



--
afolli
------------------------------------------------------------------------
afolli's Profile: http://forums.novell.com/member.php?userid=6964
View this thread: http://forums.novell.com/showthread.php?t=451666

0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: Custom Java class for Form Fill

ncalligaro wrote:

>
> Hi all,
>
> I have an eDirectory with an encrypted attribute on each user which
> needs to be decrypted by NAM and then injected on a site. The thing is
> this site does not support Basic Auth and the custom java classes for
> identity injection only work if you're using identity injection and
> not form fill. Is there any other way to get the output of a custom
> java class into a field using form fill? I can see that the options
> available when using form fill are much more limited than when using
> identity injection, do you know if there is a technical reason for
> that ?
>
> Regards,


just had a chat with a colleague who had a similar problem. He wanted
to use a custom java class as well and ran into the limitation where it
can only be used with II and not FF policies. What he did worked for
him, not sure if it'll work for you.

When you use FF the data is posted to a certain target URL. What he did
was that he configured a II policy using his customer java class and
posts the data to this target URL. Apparently this will overwrite
whatever is posted and the backend application accepts that input.
Maybe this can work for you too...

--
Cheers,
Edward
0 Likes
ncalligaro Absent Member.
Absent Member.

Re: Custom Java class for Form Fill


edmaa;2173323 Wrote:
> ncalligaro wrote:
>
> >

> just had a chat with a colleague who had a similar problem. He wanted
> to use a custom java class as well and ran into the limitation where it
> can only be used with II and not FF policies. What he did worked for
> him, not sure if it'll work for you.
>
> When you use FF the data is posted to a certain target URL. What he did
> was that he configured a II policy using his customer java class and
> posts the data to this target URL. Apparently this will overwrite
> whatever is posted and the backend application accepts that input.
> Maybe this can work for you too...
>
> --
> Cheers,
> Edward


The thing is this would probably work if you're using a Form with
method=GET. While FF can't inject values from java classes, II can't
inject values on POST variables... (Yes, i've been long waiting for
either of those two features) so in my case this won't work... I'm
trying to use the customizableStrings Alessandro said on a previous post
but it hasn't work so far, probably because something is wrong with my
code... I'll let you know if I can make it work... In the meanwhile i'm
still looking for sugestions....


--
ncalligaro
------------------------------------------------------------------------
ncalligaro's Profile: http://forums.novell.com/member.php?userid=692
View this thread: http://forums.novell.com/showthread.php?t=451666

0 Likes
ncalligaro Absent Member.
Absent Member.

Re: Custom Java class for Form Fill


I have finally made it work... sort of...

I've explained the solution on this other post:
http://forums.novell.com/novell/product-neutral/developers/dev-access-manager/415440-set-value-shared-secret-custom-auth-class-2.html#post2173913


--
ncalligaro
------------------------------------------------------------------------
ncalligaro's Profile: http://forums.novell.com/member.php?userid=692
View this thread: http://forums.novell.com/showthread.php?t=451666

0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: Custom Java class for Form Fill

ncalligaro wrote:

>
> I have finally made it work... sort of...
>
> I've explained the solution on this other post:
> http://forums.novell.com/novell/product-neutral/developers/dev-access-
> manager/415440-set-value-shared-secret-custom-auth-class-2.html#post21
> 73913


nice, thanks for the feedback

--
Cheers,
Edward
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.