Interface ModularCryptFormat

All Superinterfaces:
HashFormat
All Known Implementing Classes:
Shiro1CryptFormat, Shiro2CryptFormat

public interface ModularCryptFormat extends HashFormat
A HashFormat that supports Modular Crypt Format token rules.
Since:
1.2
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    token delimiter.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the Modular Crypt Format identifier that indicates how the formatted String should be parsed.

    Methods inherited from interface org.apache.shiro.crypto.hash.format.HashFormat

    format
  • Field Details

  • Method Details

    • getId

      String getId()
      Returns the Modular Crypt Format identifier that indicates how the formatted String should be parsed. This id is always in the MCF-formatted string's first token.

      Example values are md5, 1, 2, apr1, etc.

      Returns:
      the Modular Crypt Format identifier that indicates how the formatted String should be parsed.