org.gcube.common.uri.ap
Class ScopedPropertyAP
java.lang.Object
org.gcube.common.uri.ap.ScopedPropertyAP
- All Implemented Interfaces:
- ScopedAuthorityProvider
public class ScopedPropertyAP
- extends Object
- implements ScopedAuthorityProvider
A ScopedAuthorityProvider that provides authorities configured in a
AUHTORITY_PROVIDER_PROPERTY_FILE.
The file must be available as a top-level classpath resource.
- Author:
- Fabio Simeoni
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AUHTORITY_PROVIDER_PROPERTY_FILE
public static final String AUHTORITY_PROVIDER_PROPERTY_FILE
- The name of the authorities configuration file
- See Also:
- Constant Field Values
ScopedPropertyAP
public ScopedPropertyAP()
- Creates an instance.
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.