Class UmaTokenSecret
- java.lang.Object
-
- org.gcube.common.security.secrets.Secret
-
- org.gcube.common.security.secrets.UmaTokenSecret
-
public class UmaTokenSecret extends org.gcube.common.security.secrets.Secret
-
-
Constructor Summary
Constructors Constructor Description UmaTokenSecret(String encodedUmaToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContext()protected StringgetEncodedUmaToken()Map<String,String>getHTTPAuthorizationHeaders()org.gcube.common.security.OwnergetOwner()booleanisExpired()booleanisValid()
-
-
-
Constructor Detail
-
UmaTokenSecret
public UmaTokenSecret(String encodedUmaToken)
-
-
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
-
getEncodedUmaToken
protected String getEncodedUmaToken()
-
isExpired
public boolean isExpired()
-
isValid
public boolean isValid()
- Specified by:
isValidin classorg.gcube.common.security.secrets.Secret
-
-