Class X509Factor
java.lang.Object
com.irurueta.authserver.authorization.api.web.x509.X509Factor
@Configuration(proxyBeanMethods=false)
@ConditionalOnProperty(prefix="authserver.x509",
name="enabled",
havingValue="true")
@EnableConfigurationProperties(X509Properties.class)
public class X509Factor
extends Object
Registers the client certificate as an authentication factor: a strong primary one, because the holder proves
possession of the private key during the TLS handshake (or the proxy did on the server's behalf), so a certificate
satisfies the multi-factor policy on its own. It reports
sc (a smart card) by default, or hwk when
the deployment says its certificates are bound to hardware. It exists only while the sign-in with a certificate is
enabled, so the registry of an ordinary deployment is unchanged.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionx509AuthenticationFactor(X509Properties properties) Declares the certificate factor.
-
Field Details
-
ID
Identifier of the factor.- See Also:
-
AUTHORITY
Authority Spring Security grants to a client certificate.- See Also:
-
-
Constructor Details
-
X509Factor
public X509Factor()
-
-
Method Details
-
x509AuthenticationFactor
Declares the certificate factor.- Parameters:
properties- settings of the sign-in with a certificate, which choose the reportedamrvalue.- Returns:
- the factor.
-