Class CredentialSecret
- java.lang.Object
-
- org.gcube.common.security.secrets.Secret
-
- org.gcube.common.security.secrets.CredentialSecret
-
public class CredentialSecret extends org.gcube.common.security.secrets.Secret
-
-
Field Summary
Fields Modifier and Type Field Description protected booleaninitialised
-
Constructor Summary
Constructors Constructor Description CredentialSecret(String username, String password, String context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContext()Map<String,String>getHTTPAuthorizationHeaders()org.gcube.common.security.OwnergetOwner()booleanisExpired()
-
-
-
Method Detail
-
getOwner
public org.gcube.common.security.Owner getOwner()
- Specified by:
getOwnerin classorg.gcube.common.security.secrets.Secret
-
getContext
public String getContext()
- Specified by:
getContextin classorg.gcube.common.security.secrets.Secret
-
getHTTPAuthorizationHeaders
public Map<String,String> getHTTPAuthorizationHeaders()
- Specified by:
getHTTPAuthorizationHeadersin classorg.gcube.common.security.secrets.Secret
-
isExpired
public boolean isExpired()
- Specified by:
isExpiredin classorg.gcube.common.security.secrets.Secret
-
-