Package com.sap.conn.jco.server
Interface JCoServerAuthenticationData
public interface JCoServerAuthenticationData
Authentication parameters sent by the caller system.
It will be passed to the
JCoServerSecurityHandler
on the beginning of each session.- Since:
- JCo 3.1.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Mode for eachJCoServerAuthenticationData
object. -
Method Summary
Modifier and TypeMethodDescriptionReturns the respectiveJCoServerAuthenticationData.AuthenticationMode
for this instance.char[]
getUser()
-
Method Details
-
getAuthenticationMode
JCoServerAuthenticationData.AuthenticationMode getAuthenticationMode()Returns the respectiveJCoServerAuthenticationData.AuthenticationMode
for this instance. Depending on the authentication mode, the corresponding get()-methods are returning the authentication data. All others are returning null.- Returns:
- authentication mode
-
getSSOTicket
String getSSOTicket()- Returns:
- SSO ticket sent by the caller system if authentication mode is
JCoServerAuthenticationData.AuthenticationMode.SSO
or null
-
getX509Certificate
String getX509Certificate()- Returns:
- X509 certificate string (base64 encoded) sent by the caller system if authentication
mode is
JCoServerAuthenticationData.AuthenticationMode.X509
or null
-
getPassword
char[] getPassword()- Returns:
- password sent by the caller system if the authentication
mode is
JCoServerAuthenticationData.AuthenticationMode.USERPWD
or null
-
getUser
String getUser()- Returns:
- user sent by the caller system if the authentication
mode is
JCoServerAuthenticationData.AuthenticationMode.USERPWD
or null
-