Class OpenIDConnectToken

java.lang.Object
com.tremolosecurity.proxy.auth.util.OpenIDConnectToken

public class OpenIDConnectToken extends Object
  • Constructor Details

    • OpenIDConnectToken

      public OpenIDConnectToken(String idpName, String trustName, String urlOfRequest)
  • Method Details

    • getSessionState

      public OidcSessionState getSessionState()
    • replaceState

      public void replaceState() throws Exception
      Throws:
      Exception
    • generateToken

      public void generateToken(jakarta.servlet.http.HttpServletRequest request) throws jakarta.servlet.ServletException, org.jose4j.lang.JoseException, com.novell.ldap.LDAPException, ProvisioningException, org.jose4j.jwt.MalformedClaimException, UnsupportedEncodingException, IOException
      Throws:
      jakarta.servlet.ServletException
      org.jose4j.lang.JoseException
      com.novell.ldap.LDAPException
      ProvisioningException
      org.jose4j.jwt.MalformedClaimException
      UnsupportedEncodingException
      IOException
    • refreshProxyToken

      public void refreshProxyToken(jakarta.servlet.http.HttpServletRequest request) throws jakarta.servlet.ServletException, MalformedURLException, org.jose4j.jwt.MalformedClaimException, org.jose4j.lang.JoseException, com.novell.ldap.LDAPException, ProvisioningException
      Throws:
      jakarta.servlet.ServletException
      MalformedURLException
      org.jose4j.jwt.MalformedClaimException
      org.jose4j.lang.JoseException
      com.novell.ldap.LDAPException
      ProvisioningException
    • getClaims

      public org.jose4j.jwt.JwtClaims getClaims()
    • getJws

      public org.jose4j.jws.JsonWebSignature getJws()
    • getEncodedIdJSON

      public String getEncodedIdJSON()
    • getExpires

      public org.joda.time.DateTime getExpires()
    • getTrustName

      public String getTrustName()
    • isExpired

      public boolean isExpired()
    • getIdpName

      public String getIdpName()
    • getRefreshToken

      public String getRefreshToken() throws Exception
      Throws:
      Exception