Class TokenMasker

java.lang.Object
io.jmix.securityoauth2.impl.TokenMasker

@Component("sec_TokenMasker") public class TokenMasker extends Object
  • Field Details

  • Constructor Details

    • TokenMasker

      public TokenMasker()
  • Method Details

    • maskToken

      public String maskToken(String token)
      Masks token value, i.e. replaces the actual value 5a4587a0-e070-11e0-ae98-67f86f948320 with the ***-67f86f948320
      Parameters:
      token - initial token value
      Returns:
      masked token value