Package org.gcube.portal.oidc.lr62
Class JWTTokenUtil
- java.lang.Object
-
- org.gcube.portal.oidc.lr62.JWTTokenUtil
-
public class JWTTokenUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringOIDC_TOKEN_ATTRIBUTEstatic StringRPT_TOKEN_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description JWTTokenUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static org.gcube.oidc.rest.JWTTokenfromString(String tokenString)static StringgetAccessTokenString(org.gcube.oidc.rest.JWTToken token)static org.gcube.oidc.rest.JWTTokengetOIDCFromRequest(javax.servlet.http.HttpServletRequest request)static org.gcube.oidc.rest.JWTTokengetOIDCFromSession(javax.servlet.http.HttpSession session)Deprecated.static StringgetRawContent(org.gcube.oidc.rest.JWTToken token)static org.gcube.oidc.rest.JWTTokengetUMAFromSession(javax.servlet.http.HttpSession session)Deprecated.static voidputOIDCInRequest(org.gcube.oidc.rest.JWTToken token, javax.servlet.http.HttpServletRequest request)static voidputOIDCInSession(org.gcube.oidc.rest.JWTToken token, javax.servlet.http.HttpSession session)Deprecated.static voidputUMAInSession(org.gcube.oidc.rest.JWTToken token, javax.servlet.http.HttpSession session)Deprecated.static voidremoveOIDCFromSession(javax.servlet.http.HttpSession session)Deprecated.static voidremoveUMAFromSession(javax.servlet.http.HttpSession session)Deprecated.
-
-
-
Method Detail
-
fromString
public static org.gcube.oidc.rest.JWTToken fromString(String tokenString)
-
getRawContent
public static String getRawContent(org.gcube.oidc.rest.JWTToken token)
-
getAccessTokenString
public static String getAccessTokenString(org.gcube.oidc.rest.JWTToken token)
-
getOIDCFromRequest
public static org.gcube.oidc.rest.JWTToken getOIDCFromRequest(javax.servlet.http.HttpServletRequest request)
-
putOIDCInRequest
public static void putOIDCInRequest(org.gcube.oidc.rest.JWTToken token, javax.servlet.http.HttpServletRequest request)
-
getOIDCFromSession
@Deprecated public static org.gcube.oidc.rest.JWTToken getOIDCFromSession(javax.servlet.http.HttpSession session)
Deprecated.
-
getUMAFromSession
@Deprecated public static org.gcube.oidc.rest.JWTToken getUMAFromSession(javax.servlet.http.HttpSession session)
Deprecated.
-
putOIDCInSession
@Deprecated public static void putOIDCInSession(org.gcube.oidc.rest.JWTToken token, javax.servlet.http.HttpSession session)
Deprecated.
-
putUMAInSession
@Deprecated public static void putUMAInSession(org.gcube.oidc.rest.JWTToken token, javax.servlet.http.HttpSession session)
Deprecated.
-
removeOIDCFromSession
@Deprecated public static void removeOIDCFromSession(javax.servlet.http.HttpSession session)
Deprecated.
-
removeUMAFromSession
@Deprecated public static void removeUMAFromSession(javax.servlet.http.HttpSession session)
Deprecated.
-
-