270
Points
Questions
28
Answers
41
-
- 2019 views
- 7 answers
- 0 votes
-
- 2019 views
- 7 answers
- 0 votes
-
I said I resolved this issue. But not entirely. When I press the LDAP sync button on the Users screen from the Agile Java client, it did pull in and create users from all 3 groups. However, when I try to log in to the web client, I think the authentication goes through Weblogic. It tells me invalid user or password. So, now I am wondering what is wrong. Could it be the SecurityRealm LDAP settings in Weblogic? Here are the 3 AD User Groups that I want. Notice they are all in different sub-levels, under the OU=Groups level. Any ideas out there on how to configure this?
distinguishedName: CN=All Employees,OU=Test,OU=Groups,DC=corp,DC=mydomain,DC=com
distinguishedName: CN=Contractors,OU=Managed-Scripted,OU=Distribution Groups,OU=Groups,DC=corp,DC=mydomain,DC=com
distinguishedName: CN=Agile Vendor Users,OU=Security,OU=Groups,DC=corp,DC=mydomain,DC=com- 3579 views
- 3 answers
- 0 votes
-
Okay, here is an update. I seem to have got it working now. I went into Weblogic and included that “or” filter in both Group filters. Now it accepts my LDAP credentials when I login to Agile. Here are the settings in Weblogic (sensitive company info was replaced with “mydomain”).
WebLogic > Security Realm > “nameofrealm” > Providers > “nameofprovider” > Provider Specific
Connection
Host: ldapcorp.mydomain.com (note: do not put ldap:// in front of host)
Port: 389
Principal: agileldap@corp.mydomain.com
Credential: whatever the pwd is
Confirm Credential: whatever the pwd is
[ ] SSLEnabledUsers
User Base DN: DC=corp,DC=mydomain,DC=com
All Users Filter: (objectclass=user)
User From Name Filter:
User Search Scope: subtree
User Name Attribute: sAMAccountName
User Object Class: user
[ ] Use Retrieved User Name as PricipalGroups
Group Base DN: OU=Groups,DC=corp,DC=mydomain,DC=com
All Groups Filter: (|(CN=All Employees)(CN=Agile Vendor Users)(CN=Contractors))
Group From Name Filter: (|(CN=All Employees)(CN=Agile Vendor Users)(CN=Contractors))
Group Search Scope: subtree
Group Membership Searching: unlimited
Max Group Membership Search Level: 0
[ ] Ignore Duplicate Membership (not checked)
[ ] Use Token Groups For Group Membership LookupStatic Groups
Static Group Name Attribute: cn
Static Group Object Class: group
Static Member DN Attribute: member
Static Group DNs from Member DN Filter: (&(member=%M)(objectclass=group))Dynamic Groups
< all fields left blank>
General
Connection Pool Size: 6
Connect Timeout: 0
Connection Retry Limit: 1
Parallel Connect Delay: 0
Results Time Limit: 0
[ ] Keep Alive Enabled
[x] Follow Referrals
[ ] Bind Anonymously On Referrals
[ ] Propagate Cause For Login Exception
[x] Cached Enabled
Cache Size: 32
Cache TTL: 60
GUID Attribute: objectid- 3579 views
- 3 answers
- 0 votes
-
I was able to resolve this and got it to work. I made some changes to the LDAP search criteria, both in Agile and in WebLogic settings.
Group Path: OU=Groups,DC=corp,DC=mycompany,DC=com
Group Scope: SUB_TREE
Group Filter: (|(CN=All Employees)(CN=Agile Vendor Users)(CN=Contractors))The “|” pipe symbol in the Group Filter is an “or”. CN means Common Name.
- 3579 views
- 3 answers
- 0 votes
-
- 2107 views
- 3 answers
- 1 votes
-
I have not tried this myself, but I read this in some documentation:
IBaseScriptObj Interface Reference ( Since: 9.3 )
void sendNotification ( String templateName,
String objNumber,
int objClass,
boolean isUrgent,
List recipients,
String comments
) throws AgileDSLExceptionSend notification.
Parameters:
templateName – the name of the template you would like to send.
objNumber – the objectNumber which you would like to send the notifcation for.
objClass – the object class of the object which you would like to send the notification for.
isUrgent – set to true if the notification is urgent.
recipients – a list of recipients.
comments – comment you would like to send with the notification.Exceptions:
AgileDSLException if the method fails- 2578 views
- 3 answers
- 0 votes
-
- 1485 views
- 1 answers
- 0 votes
-
And in the same documentation, it shows different parameters for IBaseObjectScriptObj
Maybe you could try changing
import com.agile.agileDSL.ScriptObj.IBaseScriptObj;
to import com.agile.agileDSL.ScriptObj.IBaseObjectScriptObj;and change
void invokeScript(IBaseScriptObj object) {
to void invokeScript(IBaseObjectScriptObj object) {IBaseObjectScriptObj Interface Reference ( Since: 9.3 )
void sendNotification ( String templateName,
boolean isUrgent,
List recipients,
String comments
) throws AgileDSLExceptionSend the notification regarding the current object.
This method can’t be invoked in pre create object handler and post delete object handler.
Parameters:
templateName – the name of the template you would like to send.
isUrgent – set to true if the notification is urgent.
recipients – a list of recipients.
comments – comment you would like to send with the notification.Exceptions:
AgileDSLException if the method fails- 2578 views
- 3 answers
- 0 votes
-
- 3641 views
- 10 answers
- 0 votes