Idp Server Configuration
Go to the /opt/shibboleth-idp/conf directory and modify the following files to configure the IDP Server.- login.config
ShibUserPassAuth {
edu.vt.middleware.ldap.jaas.LdapLoginModule required
ldapUrl="ldap://<Host Name>:<Port>"
baseDn="<Ldap Base DN>"
serviceUser="<Admin DN>"
serviceCredential="<Admin Password>"
ssl="false"
tls="false"
subtreeSearch="true"
userFilter="uid={0}";
};
If Ldap accepting the SSL Connection, please modify the following parameters to compatible with ldap ssl protocol. They are
ssl="true"
tls="true"
ldapUrl="ldaps://<Host Name>:<Port>"
The Sample Configuration is given below.
ShibUserPassAuth {
edu.vt.middleware.ldap.jaas.LdapLoginModule required
ldapUrl="ldap://idp.liyaqat.com"
baseDn="ou=people,dc=liyaqat,dc=com"
serviceUser="CN=Manager,dc=liyaqat,dc=com"
serviceCredential="password"
ssl="false"
tls="false"
subtreeSearch="true"
userFilter="uid={0}";
};
- handler.xml
Commented Authentication Scheme
<!--
<ph:LoginHandler xsi:type="ph:RemoteUser">
<ph:AuthenticationMethod>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified</ph:AuthenticationMethod>
</ph:LoginHandler>
-->
Un Commented Authentication Scheme
<ph:LoginHandler xsi:type="ph:UsernamePassword"
jaasConfigurationLocation="file:///opt/shibboleth-idp/conf/login.config">
<ph:AuthenticationMethod>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</ph:AuthenticationMethod>
</ph:LoginHandler>
- relying-party.xml
EntityID Configuration
<rp:AnonymousRelyingParty provider="https://<IDP Host Name>/idp/shibboleth" defaultSigningCredentialRef="IdPCredential"/>
<rp:DefaultRelyingParty provider="https://<IDP Host Name>/idp/shibboleth" defaultSigningCredentialRef="IdPCredential">
IDP Metada Configuration
<metadata:MetadataProvider id="IdPMD" xsi:type="metadata:FilesystemMetadataProvider"
metadataFile="<IDP_HOME>/metadata/idp-metadata.xml"
maxRefreshDelay="P1D" />
IDP Certicate Configuration
<security:Credential id="IdPCredential" xsi:type="security:X509Filesystem">
<security:PrivateKey><IDP_HOME>/credentials/idp.key</security:PrivateKey>
<security:Certificate><IDP_HOME>/credentials/idp.crt</security:Certificate>
</security:Credential>
- attribute-resolver.xml
- attribute-filter.xml
Follow the Static IP Configuration
No comments:
Post a Comment