Package com.oorian.security
Enum Class UrlSecurityMode
- All Implemented Interfaces:
Serializable,Comparable<UrlSecurityMode>,Constable
Defines the URL protection strategy for tamper prevention.
- Since:
- 2.1
- Version:
- 1.0
- Author:
- Marvin P. Warble Jr.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic UrlSecurityModeReturns the enum constant of this class with the specified name.static UrlSecurityMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SIGNED
HMAC-based URL signing. Appends a cryptographic signature to the URL that is verified on each request. The URL path remains human-readable, but any modification invalidates the signature. -
ENCRYPTED
AES-GCM encryption of the URL path. The entire path and parameters are encrypted into an opaque Base64URL token, preventing users from seeing or guessing the underlying resource identifiers.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-