AnsweredAssumed Answered

SSO and Screen based Login

Question asked by deepakmunna on Jul 1, 2016
Latest reply on Jul 3, 2016 by sujaypillai
Hi All,

I have configured external SSO in alfresco-global.properties. creating a subfolder in alfresco/extension/subsytems/Authentication/external/customeauth. The external Authentication is working as expected. Could it possible to enable Screen based login along with exteranl SSO login. i.e. If the header "X-Alfresco-sso-header" is not set the user should be able to login using Alfresco Login screen.

<strong>alfreso-global.properties</strong>
 
authentication.chain=customauth:external
external.authentication.enabled=true
external.authentication.proxyHeader=X-Alfresco-sso-header
external.authentication.proxyUserName=
external.authentication.defaultAdministratorUserNames=
create.missing.people=false


<strong>customauth-authentication-context.xml</strong>

   <!– Enable control over mapping between request and user ID –>
   <bean id="remoteUserMapper" class="com.mariott.security.authentication.external.MarriottRemoteUserMapper">
      <property name="proxyUserName">
         <value>${external.authentication.proxyUserName}</value>
      </property>
      <property name="proxyHeader">
         <value>${external.authentication.proxyHeader}</value>
      </property>
      <property name="active">
         <value>${external.authentication.enabled}</value>
      </property>
      <property name="userIdPattern">
         <value>${external.authentication.userIdPattern}</value>
      </property>
      <property name="personService">
         <ref bean="PersonService" />
      </property>
   </bean>


Outcomes