Package com.sap.conn.jco.server
Interface JCoServerAuthenticationData
public interface JCoServerAuthenticationData
Authentication data sent by the caller system.
It will be passed to the
JCoServerSecurityHandler
at the beginning of each session.- Since:
- JCo 3.1.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Deprecated.Will be removed in a future release without further notice.static enum
Type of theJCoServerAuthenticationData
object. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Will be removed in a future release without further notice.char[]
getType()
Returns theJCoServerAuthenticationData.Type
for this instance.getUser()
-
Method Details
-
getAuthenticationMode
Deprecated.Will be removed in a future release without further notice. Use the replacement methodgetType()
instead.Returns theJCoServerAuthenticationData.AuthenticationMode
for this instance. Depending on the authentication mode, the corresponding get()-methods return the respective authentication data. All other methods return null.- Returns:
- the authentication mode
-
getType
JCoServerAuthenticationData.Type getType()Returns theJCoServerAuthenticationData.Type
for this instance. Depending on the authentication data type, the corresponding get()-methods return the respective authentication data. All other methods return null.- Returns:
- the authentication data type
- Since:
- JCo 3.1.11
-
getSSOTicket
String getSSOTicket()- Returns:
- the SSO ticket sent by the caller system if the authentication data type is
JCoServerAuthenticationData.Type.SSOTICKET
, null otherwise
-
getX509Certificate
String getX509Certificate()- Returns:
- the X.509 certificate string (base64 encoded) sent by the caller system if the authentication
data type is
JCoServerAuthenticationData.Type.X509CERT
, null otherwise
-
getUser
String getUser()- Returns:
- the user ID sent by the caller system if the authentication data type is
JCoServerAuthenticationData.Type.USERPWD
, null otherwise
-
getPassword
char[] getPassword()- Returns:
- the password sent by the caller system if the authentication data type is
JCoServerAuthenticationData.Type.USERPWD
, null otherwise
-