Interface ModularCryptFormat
-
- All Superinterfaces:
HashFormat
- All Known Implementing Classes:
Shiro1CryptFormat
public interface ModularCryptFormat extends HashFormat
AHashFormat
that supports Modular Crypt Format token rules.- Since:
- 1.2
- See Also:
- Crypt (unix), MCF Journal Entry
-
-
Field Summary
Fields Modifier and Type Field Description static String
TOKEN_DELIMITER
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getId()
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 Detail
-
TOKEN_DELIMITER
static final String TOKEN_DELIMITER
- See Also:
- Constant Field Values
-
-
Method Detail
-
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 aremd5
,1
,2
,apr1
, etc.- Returns:
- the Modular Crypt Format identifier that indicates how the formatted String should be parsed.
-
-