Architecting, installing and maintaining your SAS environment

Configuring Web Authentication for Mobile BI LDAP user login

Reply
Contributor
Posts: 26

Configuring Web Authentication for Mobile BI LDAP user login

Hi,

 

I can not login through SAS Mobile BI App using LDAP user Login, so as a solution I am following below mentioned link for Configuring Web Authentication,

http://support.sas.com/documentation/cdl/en/bimtag/68217/HTML/default/viewer.htm#n1bhp608f0hsoen10i1...

for second maintenance release in step 14 where can I find required information? we have ADFS server in place.

 

Thnaks&Regards

Nishant

 

SAS Employee
Posts: 1

Re: Configuring Web Authentication for Mobile BI LDAP user login

Posted in reply to nishukhawale

 

The realm definitions in server.xml totally depend on what attributes are supported by your LDAP. By ADFS, do you mean Active Directory Federation Services?

 

In any case a sample Realm for Active Directory LDAP would look like this:'

<Realm className="org.apache.catalina.realm.JNDIRealm" debug="true" allRolesMode="authOnly"
connectionName="CN=username,OU=Organization unit,DC=sample,DC=com"
connectionPassword="password"
connectionURL="ldap://xxx.sss.com:389"
userSearch="(sAMAccountName={0})"
/>

 

 

Another one could be:

 

 

<Realm className="org.apache.catalina.realm.LockOutRealm">

        <Realm className="org.apache.catalina.realm.JNDIRealm"

                allRolesMode="authOnly"

                connectionURL="ldap://sample.demo.com"

                userPattern="{0}@sample.demo.com"

        />

</Realm>

 

It again totally depends on what attributes are supported by your LDAP and you can use tools like ldapsearch to identify the correct pattern for user search in your LDAP.

 

Also here is an external link on some JNDI Realms, for reference

 

https://wiki.apache.org/tomcat/JNDI_HowTo

Ask a Question
Discussion stats
  • 1 reply
  • 264 views
  • 1 like
  • 2 in conversation