org.gcube.common.uri.ap
Class InfrastructureFilterSAP

java.lang.Object
  extended by org.gcube.common.uri.ap.InfrastructureFilterSAP
All Implemented Interfaces:
ScopedAuthorityProvider

public class InfrastructureFilterSAP
extends Object
implements ScopedAuthorityProvider

A ScopedAuthorityProvider that provides authorities associated with the current infrastructure.

The provider reflects deployment strategies in which authorities are infrastructure-wide.

Author:
Fabio Simeoni

Constructor Summary
InfrastructureFilterSAP(ScopedAuthorityProvider target)
          Creates an instances that delegates to a given ScopedAuthorityProvider
 
Method Summary
 String authorityIn(String scope)
          Returns the naming authority associated a given scope.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfrastructureFilterSAP

public InfrastructureFilterSAP(ScopedAuthorityProvider target)
Creates an instances that delegates to a given ScopedAuthorityProvider

Parameters:
target -
Method Detail

authorityIn

public String authorityIn(String scope)
Description copied from interface: ScopedAuthorityProvider
Returns the naming authority associated a given scope.

Specified by:
authorityIn in interface ScopedAuthorityProvider
Parameters:
scope - the scope
Returns:
the authority


Copyright © 2013. All Rights Reserved.