Package org.wildfly.security.util
Class TransformationSpec
- java.lang.Object
-
- org.wildfly.security.util.TransformationSpec
-
public class TransformationSpec extends Object
Data class used by TransformationMapper instances to return desired mapping data.- Author:
- Peter Skopek
-
-
Field Summary
Fields Modifier and Type Field Description static int
HIGH_STRENGTH
private int
keyLength
static int
LOW_STRENGTH
static int
MEDIUM_STRENGTH
static int
NO_KEY
private String
provider
private int
strength
private String
token
private String
transformation
-
Constructor Summary
Constructors Constructor Description TransformationSpec(String token, String transformation, int keyLength, int strength, String provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getKeyLength()
String
getProvider()
int
getStrength()
String
getToken()
String
getTransformation()
-
-
-
Field Detail
-
HIGH_STRENGTH
public static int HIGH_STRENGTH
-
MEDIUM_STRENGTH
public static int MEDIUM_STRENGTH
-
LOW_STRENGTH
public static int LOW_STRENGTH
-
NO_KEY
public static int NO_KEY
-
token
private String token
-
transformation
private String transformation
-
provider
private String provider
-
strength
private int strength
-
keyLength
private int keyLength
-
-
Method Detail
-
getKeyLength
public int getKeyLength()
- Returns:
- the keyLength
-
getToken
public String getToken()
- Returns:
- the token
-
getTransformation
public String getTransformation()
- Returns:
- the transformation
-
getProvider
public String getProvider()
- Returns:
- the provider
-
getStrength
public int getStrength()
- Returns:
- the strength
-
-