Class ApiPrincipal

java.lang.Object
org.frankframework.http.rest.ApiPrincipal
All Implemented Interfaces:
Serializable

public class ApiPrincipal extends Object implements Serializable
See Also:
  • Field Details

    • init

      public long init
    • ttl

      public long ttl
    • expires

      public long expires
    • data

      public String data
    • authorizationToken

      public String authorizationToken
  • Constructor Details

    • ApiPrincipal

      public ApiPrincipal()
    • ApiPrincipal

      public ApiPrincipal(int ttl)
      TimeToLive in seconds
      Parameters:
      ttl -
  • Method Details

    • isLoggedIn

      public boolean isLoggedIn()
    • updateExpiry

      public void updateExpiry()
    • setData

      public void setData(String data)
    • getData

      public String getData()
    • setToken

      public void setToken(String authorizationToken)
    • getToken

      public String getToken()