org.springframework.security.web.authentication.preauth.x509.X509PrincipalExtractor Java Examples

The following examples show how to use org.springframework.security.web.authentication.preauth.x509.X509PrincipalExtractor. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: X509AuthenticationRequestToken.java    From localization_nifi with Apache License 2.0 5 votes vote down vote up
/**
 * Creates a representation of the jwt authentication request for a user.
 *
 * @param proxiedEntitiesChain   The http servlet request
 * @param certificates  The certificate chain
 */
public X509AuthenticationRequestToken(final String proxiedEntitiesChain, final X509PrincipalExtractor principalExtractor, final X509Certificate[] certificates, final String clientAddress) {
    super(clientAddress);
    setAuthenticated(false);
    this.proxiedEntitiesChain = proxiedEntitiesChain;
    this.principalExtractor = principalExtractor;
    this.certificates = certificates;
}
 
Example #2
Source File: X509AuthenticationRequestToken.java    From nifi with Apache License 2.0 5 votes vote down vote up
/**
 * Creates a representation of the jwt authentication request for a user.
 *
 * @param proxiedEntitiesChain   The http servlet request
 * @param certificates  The certificate chain
 */
public X509AuthenticationRequestToken(final String proxiedEntitiesChain, final X509PrincipalExtractor principalExtractor, final X509Certificate[] certificates, final String clientAddress) {
    super(clientAddress);
    setAuthenticated(false);
    this.proxiedEntitiesChain = proxiedEntitiesChain;
    this.principalExtractor = principalExtractor;
    this.certificates = certificates;
}
 
Example #3
Source File: X509AuthenticationFilter.java    From localization_nifi with Apache License 2.0 4 votes vote down vote up
public void setPrincipalExtractor(X509PrincipalExtractor principalExtractor) {
    this.principalExtractor = principalExtractor;
}
 
Example #4
Source File: X509IdentityProvider.java    From localization_nifi with Apache License 2.0 4 votes vote down vote up
public void setPrincipalExtractor(X509PrincipalExtractor principalExtractor) {
    this.principalExtractor = principalExtractor;
}
 
Example #5
Source File: NiFiWebApiSecurityConfiguration.java    From localization_nifi with Apache License 2.0 4 votes vote down vote up
@Autowired
public void setPrincipalExtractor(X509PrincipalExtractor principalExtractor) {
    this.principalExtractor = principalExtractor;
}
 
Example #6
Source File: AccessResource.java    From localization_nifi with Apache License 2.0 4 votes vote down vote up
public void setPrincipalExtractor(X509PrincipalExtractor principalExtractor) {
    this.principalExtractor = principalExtractor;
}
 
Example #7
Source File: X509IdentityProvider.java    From nifi-registry with Apache License 2.0 4 votes vote down vote up
@Autowired
public X509IdentityProvider(X509PrincipalExtractor principalExtractor, X509CertificateExtractor certificateExtractor) {
    this.principalExtractor = principalExtractor;
    this.certificateExtractor = certificateExtractor;
}
 
Example #8
Source File: X509AuthenticationFilter.java    From nifi with Apache License 2.0 4 votes vote down vote up
public void setPrincipalExtractor(X509PrincipalExtractor principalExtractor) {
    this.principalExtractor = principalExtractor;
}
 
Example #9
Source File: X509IdentityProvider.java    From nifi with Apache License 2.0 4 votes vote down vote up
public void setPrincipalExtractor(X509PrincipalExtractor principalExtractor) {
    this.principalExtractor = principalExtractor;
}
 
Example #10
Source File: NiFiWebApiSecurityConfiguration.java    From nifi with Apache License 2.0 4 votes vote down vote up
@Autowired
public void setPrincipalExtractor(X509PrincipalExtractor principalExtractor) {
    this.principalExtractor = principalExtractor;
}
 
Example #11
Source File: AccessResource.java    From nifi with Apache License 2.0 4 votes vote down vote up
public void setPrincipalExtractor(X509PrincipalExtractor principalExtractor) {
    this.principalExtractor = principalExtractor;
}