Mock Authenticationx - IBM

barristerbedroomΛογισμικό & κατασκευή λογ/κού

28 Οκτ 2013 (πριν από 3 χρόνια και 5 μήνες)

58 εμφανίσεις

Steps to set up mock authentication in Business Glossary:


1)


Create a user on the InfoSphere server and give them the Business Glossary Basic User
role.


(If you are using LDAP for authentication this has to be an account in LDAP).

For this example


I’m going to assume you have a userid of
BusGloss

and a password of
cool#123

2)

Login to Business Glossary using that generic userid to make sure the account does
indeed have access to Business Glossary.

3)

Log into the “Integrated Solutions Console”
https://WAS_Server:9043/ibm/console/logon.jsp?action=OK

as wasadmin or whatever
“was admin account” was used during the installation.

4)

From t
he options at the left select


+Servers > +Server Types > WebSphere application
servers

5)

This should display your WAS server in the middle of the screen


select that the default
is server1, click that

6)

On the right hand side scroll down until you see Serve
r Infrastructure then click Java and
Process Management > Process definition and select that

7)

On the right under Additional Properties click Java Virtual Machine

8)

On that screen scroll down until you see a box that lets you enter Generic JVM
Arguments

9)

In th
at entry box enter:
-
DmockAuthenticate=true

DmockUsername=BusGloss

DmockPassword=cool#123 (using whatever your real username/password is)
. Note


if
there are already values in this box you will be adding these by first entering a space and
then the set

of three java arguments.

10)

Press the button at the bottom that says ‘apply’

11)

Now at the top of the display will be some text and one of the options is to press to
‘save’


do that.

12)

Now the settings are in place.


You now have to bounce the server


so use yo
ur normal
command line instructions to do a server stop and then server start.


At this point you should be able to use the URL without the login.jsp segment and it will take
you (and everyone else) directly into Business Glossary.


(Remember when you need

to perform
Administration tasks that you will need to use the login.jsp URL).


For the BGA install


there is a config.ini file that has values for UserName= and Password=


-

those can now be blanks and might (haven’t verified yet) be removed from the f
ile altogether.