2022-05-23 16:39:48 +02:00
|
|
|
package org.gcube.common.security.secrets;
|
|
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
2022-05-30 18:31:11 +02:00
|
|
|
import org.gcube.common.security.Owner;
|
2022-05-23 16:39:48 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
|
|
*/
|
|
|
|
public abstract class Secret {
|
|
|
|
|
2022-05-30 18:31:11 +02:00
|
|
|
public abstract Owner getOwner();
|
2022-05-23 16:39:48 +02:00
|
|
|
|
|
|
|
public abstract String getContext();
|
|
|
|
|
|
|
|
public abstract Map<String,String> getHTTPAuthorizationHeaders();
|
|
|
|
|
|
|
|
public abstract boolean isExpired();
|
|
|
|
|
|
|
|
public abstract boolean isRefreshable();
|
|
|
|
|
|
|
|
}
|