Package org.apache.cxf.sts.service
Class StaticService
java.lang.Object
org.apache.cxf.sts.service.StaticService
- All Implemented Interfaces:
ServiceMBean
This class represents a (static) service. It can be spring-loaded with a set of Endpoint
Strings, which are compiled into a collection of (reg-ex) Patterns.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the EncryptionProperties to be used to encrypt tokens issued for this serviceGet the default Key Type to be issued for this ServiceintGet the maximum allowable address length to compare against the addresses set in setEndpointsGet 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 ServicevoidsetMaxAddressLength(int maxAddressLength) Set the maximum allowable address length to compare against the addresses set in setEndpointsvoidsetTokenType(String tokenType) Set the default Token Type to be issued for this Service
-
Constructor Details
-
StaticService
public StaticService()
-
-
Method Details
-
isAddressInEndpoints
Return true if the supplied address corresponds to a known address for this service- Specified by:
isAddressInEndpointsin interfaceServiceMBean
-
getTokenType
Get the default Token Type to be issued for this Service- Specified by:
getTokenTypein interfaceServiceMBean
-
setTokenType
Set the default Token Type to be issued for this Service- Specified by:
setTokenTypein interfaceServiceMBean
-
getKeyType
Get the default Key Type to be issued for this Service- Specified by:
getKeyTypein interfaceServiceMBean
-
setKeyType
Set the default Key Type to be issued for this Service- Specified by:
setKeyTypein interfaceServiceMBean
-
setEndpoints
Set the list of endpoint addresses that correspond to this service- Specified by:
setEndpointsin interfaceServiceMBean
-
getEncryptionProperties
Get the EncryptionProperties to be used to encrypt tokens issued for this service- Specified by:
getEncryptionPropertiesin interfaceServiceMBean
-
setEncryptionProperties
Set the EncryptionProperties to be used to encrypt tokens issued for this service- Specified by:
setEncryptionPropertiesin interfaceServiceMBean
-
getMaxAddressLength
public int getMaxAddressLength()Get the maximum allowable address length to compare against the addresses set in setEndpoints- Returns:
- the maximum allowable address length
-
setMaxAddressLength
public void setMaxAddressLength(int maxAddressLength) Set the maximum allowable address length to compare against the addresses set in setEndpoints- Parameters:
maxAddressLength- the maximum allowable address length
-