Apache CXF API

org.apache.cxf.sts.service
Class StaticService

java.lang.Object
  extended by org.apache.cxf.sts.service.StaticService
All Implemented Interfaces:
ServiceMBean

public class StaticService
extends Object
implements 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
StaticService()
           
 
Method Summary
 EncryptionProperties getEncryptionProperties()
          Get the EncryptionProperties to be used to encrypt tokens issued for this service
 String getKeyType()
          Get the default Key Type to be issued for this Service
 String getTokenType()
          Get the default Token Type to be issued for this Service
 boolean isAddressInEndpoints(String address)
          Return true if the supplied address corresponds to a known address for this service
 void setEncryptionProperties(EncryptionProperties encryptionProperties)
          Set the EncryptionProperties to be used to encrypt tokens issued for this service
 void setEndpoints(List<String> endpoints)
          Set the list of endpoint addresses that correspond to this service
 void setKeyType(String keyType)
          Set the default Key Type to be issued for this Service
 void setTokenType(String tokenType)
          Set the default Token Type to be issued for this Service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticService

public StaticService()
Method Detail

isAddressInEndpoints

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

Specified by:
isAddressInEndpoints in interface ServiceMBean

getTokenType

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

Specified by:
getTokenType in interface ServiceMBean

setTokenType

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

Specified by:
setTokenType in interface ServiceMBean

getKeyType

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

Specified by:
getKeyType in interface ServiceMBean

setKeyType

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

Specified by:
setKeyType in interface ServiceMBean

setEndpoints

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

Specified by:
setEndpoints in interface ServiceMBean

getEncryptionProperties

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

Specified by:
getEncryptionProperties in interface ServiceMBean

setEncryptionProperties

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

Specified by:
setEncryptionProperties in interface ServiceMBean

Apache CXF API

Apache CXF