on 07-13-2011 5:28 PM
Dear Experts
I have a custom logon screen modified as standard from com.sap.portal.runtime.logon.par
that has been working well for 3 + years.
Default Portal access is to SSO via Kerboros / SP Nego logon ticket.
All non-authenticated users + Firefox users + users without Windows Integrated Authentication disabled in IE
will see Portal logon page.
So far so good.......however I have a new requirement to always show the Portal logon page for a specific
Portal URL (even if user has SSO capability). I am struggling to extend existing solution to achieve
this. (I do have a basic http form as a fallback)
I have provided "Authscheme.xml" as a starting point
<?xml version="1.0" encoding="UTF-8" ?>
- <!-- Configuration File for Authentication Schemes
-->
- <!-- $Id: //shared_tc/com.sapall.security/630_SP_COR/src/_deploy/dist/configuration/shared/authschemes.xml#4 $ from $DateTime: 2004/01/20 17:27:21 $ ($Change: 14181 $)
-->
- <document>
- <authschemes>
- <!-- authschemes, the name of the node is used
-->
- <authscheme name="uidpwdlogon">
- <!-- multiple login modules can be defined
-->
<authentication-template>ticket</authentication-template>
<priority>20</priority>
- <!-- the frontendtype TARGET_FORWARD = 0, TARGET_REDIRECT = 1, TARGET_JAVAIVIEW = 2
-->
<frontendtype>2</frontendtype>
- <!-- target object
-->
<frontendtarget>com.dummy.dummy .logon.certlogon</frontendtarget>
</authscheme>
- <authscheme name="certlogon">
<authentication-template>client_cert</authentication-template>
<priority>21</priority>
<frontendtype>2</frontendtype>
<frontendtarget>com.dummy.dummy .logon.certlogon</frontendtarget>
</authscheme>
- <authscheme name="basicauthentication">
<authentication-template>ticket</authentication-template>
<priority>20</priority>
<frontendtype>2</frontendtype>
<frontendtarget>com.dummy.dummy .logon.basicauthentication</frontendtarget>
</authscheme>
- <authscheme name="header">
<authentication-template>header</authentication-template>
<priority>5</priority>
<frontendtype>2</frontendtype>
<frontendtarget>com.dummy.dummy .logon.header</frontendtarget>
</authscheme>
- <!-- Reserved 'anonymous' authscheme added for being in the list of authschemes
-->
- <authscheme name="anonymous">
<priority>-1</priority>
</authscheme>
</authschemes>
- <!-- References for Authentication Schemes, this section must be after authschemes
-->
- <authscheme-refs>
- <authscheme-ref name="default">
<authscheme>uidpwdlogon</authscheme>
</authscheme-ref>
- <authscheme-ref name="UserAdminScheme">
<authscheme>uidpwdlogon</authscheme>
</authscheme-ref>
</authscheme-refs>
</document>
All advice gratefully received, particularly from anyone who has achieve already.
Kind regards
Mike
And portal.xml
<?xml version="1.0" encoding="utf-8"?>
<application>
<application-config>
<property name="Vendor" value="sap.com"/>
<property name="SecurityArea" value="NetWeaver.UserManagement"/>
<property name="ServicesReference" value="com.sap.portal.usermanagement,com.sap.portal.themes.lafservice"/>
</application-config>
<components>
<component name="default">
<component-config>
<!--<property name="ClassName" value="com.sapportals.portal.prt.component.logon.StandardLogonComponent"/>-->
<property name="ClassName" value="com.sapportals.portal.ume.component.logon.SAPMLogonComponent"/>
<property name="SafetyLevel" value="no_safety"/>
<property name="LocalModeAllowed" value="true"/>
</component-config>
<component-profile>
<property name="AuthScheme" value="anonymous"/>
<property name="com.sap.portal.pcm.Category" value="platform">
<property name="inheritance" value="final"/>
</property>
<property name="SupportedUserAgents" value="(MSIE, >=5.0, *) (Netscape, *, *) (Mozilla,*,*)">
<property name="inheritance" value="final"/>
</property>
</component-profile>
</component>
<component name="certlogon">
<component-config>
<property name="ClassName" value="com.sapportals.portal.ume.component.logon.SAPMLogonCertComponent"/>
<property name="SafetyLevel" value="no_safety"/>
<property name="LocalModeAllowed" value="true"/>
</component-config>
<component-profile>
<property name="AuthScheme" value="anonymous"/>
<property name="com.sap.portal.pcm.Category" value="platform">
<property name="inheritance" value="final"/>
</property>
<property name="SupportedUserAgents" value="(MSIE, >=5.0, *) (Netscape, *, *) (Mozilla,*,*)">
<property name="inheritance" value="final"/>
</property>
</component-profile>
</component>
<component name="basicauthentication">
<component-config>
<property name="ClassName" value="com.sapportals.portal.prt.component.logon.BasicAuthenticationLogon"/>
<property name="SafetyLevel" value="no_safety"/>
<property name="LocalModeAllowed" value="true"/>
</component-config>
<component-profile>
<property name="AuthScheme" value="anonymous"/>
<property name="com.sap.portal.pcm.Category" value="platform">
<property name="inheritance" value="final"/>
</property>
<property name="SupportedUserAgents" value="(*, *, *)">
<property name="inheritance" value="final"/>
</property>
</component-profile>
</component>
<component name="header">
<component-config>
<property name="ClassName" value="com.sapportals.portal.prt.component.logon.HeaderVariableLogon"/>
<property name="SafetyLevel" value="no_safety"/>
<property name="LocalModeAllowed" value="true"/>
</component-config>
<component-profile>
<property name="AuthScheme" value="anonymous"/>
<property name="com.sap.portal.pcm.Category" value="platform">
<property name="inheritance" value="final"/>
</property>
<property name="SupportedUserAgents" value="(MSIE, >=5.0, *) (Netscape, *, *) (Mozilla,*,*)">
<property name="inheritance" value="final"/>
</property>
</component-profile>
</component>
<component name="anonymous">
<component-config>
<property name="ClassName" value="com.sapportals.portal.prt.component.logon.AnonymousAuthenticationLogon"/>
<property name="SafetyLevel" value="no_safety"/>
<property name="LocalModeAllowed" value="true"/>
</component-config>
<component-profile>
<property name="AuthScheme" value="anonymous"/>
<property name="com.sap.portal.pcm.Category" value="platform">
<property name="inheritance" value="final"/>
</property>
<property name="SupportedUserAgents" value="(MSIE, >=5.0, *) (Netscape, *, *) (Mozilla,*,*)">
<property name="inheritance" value="final"/>
</property>
</component-profile>
</component>
<component name="transport">
<component-config>
<property name="ClassName" value="com.sapportals.portal.prt.component.logon.AnonymousAuthenticationLogon"/>
<property name="SafetyLevel" value="no_safety"/>
<property name="LocalModeAllowed" value="true"/>
<property name="JSP" value="pagelet/create_user.jsp"/>
<property name="ComponentType" value="none"/>
</component-config>
<component-profile>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
</component-profile>
</component>
</components>
<services/>
</application>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.