Package org.apache.cxf.sts.service
Interface ServiceMBean
-
- All Known Implementing Classes:
StaticService
public interface ServiceMBeanThis 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EncryptionPropertiesgetEncryptionProperties()Get the EncryptionProperties to be used to encrypt tokens issued for this serviceStringgetKeyType()Get the default Key Type to be issued for this ServiceStringgetTokenType()Get the default Token Type to be issued for this ServicebooleanisAddressInEndpoints(String address)Return true if the supplied address corresponds to a known address for this servicevoidsetEncryptionProperties(EncryptionProperties encryptionProperties)Set the EncryptionProperties to be used to encrypt tokens issued for this servicevoidsetEndpoints(List<String> endpoints)Set the list of endpoint addresses that correspond to this servicevoidsetKeyType(String keyType)Set the default Key Type to be issued for this ServicevoidsetTokenType(String tokenType)Set the default Token Type to be issued for this Service
-
-
-
Method Detail
-
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
-
-