| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: true if passes; false if failsThe mechanism's security characteristics flags, Map<String, ?> The security policy properties to check props)Determines whether a mechanism's characteristics, as defined in flags, fits the security policy properties found in props. |
| public static String[] | filterMechs(String[] mechs, int[] policies, Map<String, ?> props)
Given a list of mechanisms and their characteristics, select the subset that conforms to the policies defined in props. |
| FORWARD_SECRECY | back to summary |
|---|---|
| public static final int FORWARD_SECRECY | |
| NOACTIVE | back to summary |
|---|---|
| public static final int NOACTIVE | |
| NOANONYMOUS | back to summary |
|---|---|
| public static final int NOANONYMOUS | |
| NODICTIONARY | back to summary |
|---|---|
| public static final int NODICTIONARY | |
| NOPLAINTEXT | back to summary |
|---|---|
| public static final int NOPLAINTEXT | |
| PASS_CREDENTIALS | back to summary |
|---|---|
| public static final int PASS_CREDENTIALS | |
| PolicyUtils | back to summary |
|---|---|
| private PolicyUtils() | |
| checkPolicy | back to summary |
|---|---|
| public static boolean checkPolicy(int flags, Map<String, ?> props) Determines whether a mechanism's characteristics, as defined in flags, fits the security policy properties found in props. | |
| filterMechs | back to summary |
|---|---|
| public static String[] filterMechs(String[] mechs, int[] policies, Map<String, ?> props) Given a list of mechanisms and their characteristics, select the subset that conforms to the policies defined in props. Useful for SaslXXXFactory.getMechanismNames(props) implementations. | |