com.sapportals.portal.prt.service.authenticationservice

Interface IPortalAuthenticationService

All Superinterfaces:
IAuthenticationService

public interface IPortalAuthenticationService
extends IAuthenticationService


Field Summary
static String FRONTEND_TARGET_IVIEW
           
static String LOGIN_SUBMIT
           
static String LOGON_ACTION
           
static String LOGOUT_SUBMIT
           
static String NO_REDIRECT_IN_THIS_REQUEST
           
static String ORIGINAL_URL_REDIRECT_NODE
           
static String RA_TARGET_IVIEW
           
static String REQUIRED_AUTHSCHEME
           
static String SYSTEM_MESSAGE_TARGET_IVIEW
           
 
Fields inherited from interface com.sapportals.portal.prt.service.authenticationservice.IAuthenticationService
KEY
 
Method Summary
 Object getAccessToLogic(IPortalComponentRequest request, IPortalComponentResponse response)
           
 String getAuthSchemeFromUser(IUserContext user)
           
 String getLogonApplicationAlias()
           
 CallbackHandler getPortalSecurityHandler(IPortalComponentRequest request, IComponentNode node)
           
 boolean isAuthSchemeSufficient(Principal caller, String authScheme)
          Verifying a certain authentication scheme (level of access for iView)
 
Methods inherited from interface com.sapportals.portal.prt.service.authenticationservice.IAuthenticationService
getLoggedInUser, getLogonIView, getUser, isAuthSchemeSufficient
 

Field Detail

REQUIRED_AUTHSCHEME

static final String REQUIRED_AUTHSCHEME
See Also:
Constant Field Values

FRONTEND_TARGET_IVIEW

static final String FRONTEND_TARGET_IVIEW
See Also:
Constant Field Values

RA_TARGET_IVIEW

static final String RA_TARGET_IVIEW
See Also:
Constant Field Values

SYSTEM_MESSAGE_TARGET_IVIEW

static final String SYSTEM_MESSAGE_TARGET_IVIEW
See Also:
Constant Field Values

LOGON_ACTION

static final String LOGON_ACTION
See Also:
Constant Field Values

NO_REDIRECT_IN_THIS_REQUEST

static final String NO_REDIRECT_IN_THIS_REQUEST
See Also:
Constant Field Values

ORIGINAL_URL_REDIRECT_NODE

static final String ORIGINAL_URL_REDIRECT_NODE
See Also:
Constant Field Values

LOGIN_SUBMIT

static final String LOGIN_SUBMIT
See Also:
Constant Field Values

LOGOUT_SUBMIT

static final String LOGOUT_SUBMIT
See Also:
Constant Field Values
Method Detail

isAuthSchemeSufficient

boolean isAuthSchemeSufficient(Principal caller,
                               String authScheme)
Verifying a certain authentication scheme (level of access for iView)


getPortalSecurityHandler

CallbackHandler getPortalSecurityHandler(IPortalComponentRequest request,
                                         IComponentNode node)
Parameters:
request - current portal request
Returns:
javax.security.auth.callback.CallbackHandler instance

getAccessToLogic

Object getAccessToLogic(IPortalComponentRequest request,
                        IPortalComponentResponse response)
Parameters:
request - current portal request
response - current portal response
Returns:
instance of IAccessToLogic interface NOTE: currently java.lang.Object is returned in order to avoid build time dependency to anything outside j2ee facades. Once a facade containing IAccessToLogic will be introduced, the return type could be changed to IAccessToLogic.

getAuthSchemeFromUser

String getAuthSchemeFromUser(IUserContext user)

getLogonApplicationAlias

String getLogonApplicationAlias()
Returns:
J2EE logon application alias
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] epbc.prtapi._coreservicedeprecated default EP-PIN-PRT
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/lib/api api EP-PIN
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2015 SAP AG Complete Copyright Notice