org.apache.tuscany.sca.policy.authentication.basic
Class BasicAuthenticationServicePolicyProvider

java.lang.Object
  extended by org.apache.tuscany.sca.policy.authentication.basic.BasicAuthenticationServicePolicyProvider
All Implemented Interfaces:
PolicyProvider

public class BasicAuthenticationServicePolicyProvider
extends java.lang.Object
implements PolicyProvider


Constructor Summary
BasicAuthenticationServicePolicyProvider(RuntimeComponent component, RuntimeComponentService service, Binding binding)
           
 
Method Summary
 Interceptor createInterceptor(Operation operation)
          Create an interceptor for a given operation
 java.lang.String getPhase()
          Get the phase that the interceptor should be added
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicAuthenticationServicePolicyProvider

public BasicAuthenticationServicePolicyProvider(RuntimeComponent component,
                                                RuntimeComponentService service,
                                                Binding binding)
Method Detail

createInterceptor

public Interceptor createInterceptor(Operation operation)
Description copied from interface: PolicyProvider
Create an interceptor for a given operation

Specified by:
createInterceptor in interface PolicyProvider
Returns:
An interceptor that realize the policySet
See Also:
PolicyProvider.createInterceptor(org.apache.tuscany.sca.interfacedef.Operation)

getPhase

public java.lang.String getPhase()
Description copied from interface: PolicyProvider
Get the phase that the interceptor should be added

Specified by:
getPhase in interface PolicyProvider
Returns:
The phase that this interceptor belongs to
See Also:
PolicyProvider.getPhase()