com.sap.conn.jco.server
Interface JCoServerAuthorizationData


public interface JCoServerAuthorizationData

Authorization parameters sent by the caller system JCoServerAuthorizationData will be passed to the JCoSecurityHandler, if ones is installed, on each call.


Field Summary
static int AUTHORIZATION_MODE_BASIC
          Authorization mode basic
static int AUTHORIZATION_MODE_SNC
          Authorization mode SNC
 
Method Summary
 byte[] getAuthorizationKey()
           
 int getAuthorizationMode()
          Returns AUTHORIZATION_MODE_SNC or AUTHORIZATION_MODE_BASIC.
 java.lang.String getAuthorizationPartner()
           
 java.lang.String getSSOTicket()
           
 boolean isSNCEnabled()
          If SNC is enabled and authorization mode is AUTHORIZATION_MODE_SNC the parameter authorization partner and key are supplied
 boolean isSSOBased()
          Returns true is SSO ticket was supplied.
 

Field Detail

AUTHORIZATION_MODE_SNC

static final int AUTHORIZATION_MODE_SNC
Authorization mode SNC

See Also:
Constant Field Values

AUTHORIZATION_MODE_BASIC

static final int AUTHORIZATION_MODE_BASIC
Authorization mode basic

See Also:
Constant Field Values
Method Detail

isSSOBased

boolean isSSOBased()
Returns true is SSO ticket was supplied. In this case the getSSOTicket will return the SSO ticket sent by the caller system

Returns:
true is SSO ticket was supplied

isSNCEnabled

boolean isSNCEnabled()
If SNC is enabled and authorization mode is AUTHORIZATION_MODE_SNC the parameter authorization partner and key are supplied

Returns:
true is connection established used SNC encryption

getAuthorizationMode

int getAuthorizationMode()
Returns AUTHORIZATION_MODE_SNC or AUTHORIZATION_MODE_BASIC. If authorization mode is AUTHORIZATION_MODE_SNC the parameter authorization partner and key are supplied

Returns:
authorization mode
See Also:
AUTHORIZATION_MODE_SNC, AUTHORIZATION_MODE_BASIC

getSSOTicket

java.lang.String getSSOTicket()
Returns:
SSO ticket if supplied or null

getAuthorizationPartner

java.lang.String getAuthorizationPartner()
Returns:
authorization partner if supplied or null

getAuthorizationKey

byte[] getAuthorizationKey()
Returns:
authorization key if supplied or null


Copyright © 2008-2014 SAP AG. All Rights Reserved.