Specify the appropriate fields based on how users will be authenticated in the Kerberos authentication service. If using a directory, specify binding information for your directory. To access this service, you will also need to specify the activities used to validate user credentials, the alias name, and alias URL pattern.
- In the navigation pane of Dev Studio click.
- Select an existing custom authentication service from the instance list, or create a custom authentication service.
- Click the Kerberos tab.
- In the Login configuration section:
- In the Authentication service alias field, enter the
application service alias you want to use for the Authentication service.
The Authentication service alias is used for hitting the authorization endpoint.For example: Enter ClientLogin in the Authentication service alias field.
- In the URL pattern field, enter the servlet name mapped in
web.xml for this authentication service.
In this example, when viewing the web.xml, the LDAP authentication service has the PRWebLDAP1 servlet, which is mapped to the WebLDAP1 authentication service.
For example: Enter WebLDAP1 in the URL pattern field and the following URL will generate Login URL: https://company.com/prweb/PRWebLDAP1
- In the Authentication service alias field, enter the application service alias you want to use for the Authentication service.
- In the Custom Authentication Activity section, in the
Authentication activity field, press the Down Arrow key and
select the authentication activity.
Note: In this example, you would select the pyAuthenticationKerberosCredentials activity because this is for Kerberos authentication. However, you could create your own activity to support a custom authentication service, then select it here.If you are not using SPNEGO Source Forge, modify this activity code to retrieve GSSCredentials from the pxRequestor clipboard page.The activity must have Code-Security as the Applies To key part.
- In the JNDI Binding Parameters section, in the Initial context factory field, enter the Java class name of the JNDI initial context factory that you want to use to connect to the directory server, for example, com.sun.jndi.ldap.LdapCtxFactory.
- If you are using LDAP, in the Directory field, enter the LDAP server information. Otherwise, leave this field blank.
- In the Trust store field, press the Down Arrow key and select the truststore record that contains the server certificates.
- Click Save.