Interface ServiceMBean

All Known Implementing Classes:
StaticService

public interface ServiceMBean
This MBean represents a service. It defines a single operation "isAddressInEndpoints(String address)". This is called by the Issue binding, passing through the address URL that is supplied as part of "AppliesTo". The AppliesTo address must match with a "known" address of the implementation of this MBean.
  • Method Details

    • isAddressInEndpoints

      boolean isAddressInEndpoints(String address)
      Return true if the supplied address corresponds to a known address for this service
    • getTokenType

      String getTokenType()
      Get the default Token Type to be issued for this Service
    • setTokenType

      void setTokenType(String tokenType)
      Set the default Token Type to be issued for this Service
    • getKeyType

      String getKeyType()
      Get the default Key Type to be issued for this Service
    • setKeyType

      void setKeyType(String keyType)
      Set the default Key Type to be issued for this Service
    • setEndpoints

      void setEndpoints(List<String> endpoints)
      Set the list of endpoint addresses that correspond to this service
    • getEncryptionProperties

      EncryptionProperties getEncryptionProperties()
      Get the EncryptionProperties to be used to encrypt tokens issued for this service
    • setEncryptionProperties

      void setEncryptionProperties(EncryptionProperties encryptionProperties)
      Set the EncryptionProperties to be used to encrypt tokens issued for this service