Class SecurityConfig

java.lang.Object
org.openspaces.core.space.SecurityConfig

public class SecurityConfig extends Object
A configuration object allowing to configure security context (username, password) when working with the Space.
Author:
kimchy
  • Constructor Details

    • SecurityConfig

      public SecurityConfig()
    • SecurityConfig

      public SecurityConfig(String token)
    • SecurityConfig

      public SecurityConfig(String username, String password)
    • SecurityConfig

      public SecurityConfig(CredentialsProvider credentialsProvider)
  • Method Details

    • getUsername

      public String getUsername()
      Returns the username to connect to the Space with.
    • setUsername

      public void setUsername(String username)
      Sets the username to connect to the Space with.
    • getPassword

      public String getPassword()
      Returns the password to connect to the Space with.
    • setPassword

      public void setPassword(String password)
      Sets the password to connect to the Space with.
    • getToken

      public String getToken()
    • setToken

      public void setToken(String token)
    • getServiceId

      public String getServiceId()
    • setServiceId

      public void setServiceId(String serviceId)
    • getCode

      public String getCode()
    • setCode

      public void setCode(String code)
    • getCredentialsProvider

      public CredentialsProvider getCredentialsProvider()
    • isFilled

      public boolean isFilled()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fromMarshalledProperties

      public static SecurityConfig fromMarshalledProperties(Properties properties)