当前位置: 首页>>代码示例>>Java>>正文


Java SupportLevel.SUPPORTED属性代码示例

本文整理汇总了Java中org.wildfly.security.auth.SupportLevel.SUPPORTED属性的典型用法代码示例。如果您正苦于以下问题:Java SupportLevel.SUPPORTED属性的具体用法?Java SupportLevel.SUPPORTED怎么用?Java SupportLevel.SUPPORTED使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在org.wildfly.security.auth.SupportLevel的用法示例。


在下文中一共展示了SupportLevel.SUPPORTED属性的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getEvidenceVerifySupport

@Override
public SupportLevel getEvidenceVerifySupport(Class<? extends Evidence> evidenceType, String algorithmName)
        throws RealmUnavailableException {
    return PasswordGuessEvidence.class.isAssignableFrom(evidenceType) ? SupportLevel.SUPPORTED : SupportLevel.UNSUPPORTED;
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:5,代码来源:PlugInAuthenticationCallbackHandler.java

示例2: getCredentialAcquireSupport

public SupportLevel getCredentialAcquireSupport(Class<? extends org.wildfly.security.credential.Credential> credentialType, String algorithmName) throws RealmUnavailableException {
    return getCredential(credentialType, algorithmName) != null ? SupportLevel.SUPPORTED : SupportLevel.UNSUPPORTED;
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:3,代码来源:PlugInAuthenticationCallbackHandler.java

示例3: getEvidenceVerifySupport

@Override
public SupportLevel getEvidenceVerifySupport(Class<? extends Evidence> evidenceType, String algorithmName)
        throws RealmUnavailableException {
    return X509PeerCertificateChainEvidence.class.isAssignableFrom(evidenceType) ? SupportLevel.SUPPORTED : SupportLevel.UNSUPPORTED;
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:5,代码来源:ClientCertCallbackHandler.java

示例4: getCredentialAcquireSupport

public SupportLevel getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec) throws RealmUnavailableException {
    Assert.checkNotNullParam("credentialType", credentialType);
    return PasswordCredential.class.isAssignableFrom(credentialType) && (algorithmName == null || algorithmName.equals(ALGORITHM_CLEAR) ||
            algorithmName.equals(ALGORITHM_DIGEST_MD5)) ? SupportLevel.SUPPORTED : SupportLevel.UNSUPPORTED;
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:5,代码来源:DomainManagedServerCallbackHandler.java

示例5: getEvidenceVerifySupport

@Override
public SupportLevel getEvidenceVerifySupport(Class<? extends Evidence> evidenceType, String algorithmName)
        throws RealmUnavailableException {
    return SupportLevel.SUPPORTED;
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:5,代码来源:DomainManagedServerCallbackHandler.java

示例6: getEvidenceVerifySupport

@Override
public SupportLevel getEvidenceVerifySupport(Class<? extends Evidence> evidenceType, String algorithmName) throws RealmUnavailableException {
    checkNotNullParam("evidenceType", evidenceType);
    return PasswordGuessEvidence.class.isAssignableFrom(evidenceType) ? SupportLevel.SUPPORTED : SupportLevel.UNSUPPORTED;
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:5,代码来源:UserLdapCallbackHandler.java

示例7: getCredentialAcquireSupport

public SupportLevel getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec) throws RealmUnavailableException {
    Assert.checkNotNullParam("credentialType", credentialType);
    return PasswordCredential.class.isAssignableFrom(credentialType) && (algorithmName == null || algorithmName.equals(ALGORITHM_CLEAR) && plainText ||
            algorithmName.equals(ALGORITHM_DIGEST_MD5)) && parameterSpec == null ? SupportLevel.SUPPORTED : SupportLevel.UNSUPPORTED;
}
 
开发者ID:wildfly,项目名称:wildfly-core,代码行数:5,代码来源:PropertiesCallbackHandler.java


注:本文中的org.wildfly.security.auth.SupportLevel.SUPPORTED属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。