Class AdmissionController
java.lang.Object
io.confluent.security.authentication.AdmissionController
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAdmissionController(Authenticator<?, ?> authenticator, Supplier<TrustCache> trustCacheSupplier, PolicyEngine<String> policyEngine) -
Method Summary
Modifier and TypeMethodDescriptionauthenticate(BearerCredential credential) authenticate(BearerCredential credential, io.confluent.security.util.SecurityContext context)
-
Field Details
-
OAUTH_AUTHORIZED_PARTY
- See Also:
-
OAUTH_POOL_DELIMITER
- See Also:
-
OAUTH_UNION_OF_POOLS_AUDIT_IDENTITY
- See Also:
-
-
Constructor Details
-
AdmissionController
public AdmissionController(Authenticator<?, ?> authenticator, Supplier<TrustCache> trustCacheSupplier, PolicyEngine<String> policyEngine)
-
-
Method Details
-
authenticate
public Claims authenticate(BearerCredential credential, io.confluent.security.util.SecurityContext context) throws io.confluent.security.authentication.AuthenticationException - Throws:
io.confluent.security.authentication.AuthenticationException
-
authenticate
public Claims authenticate(BearerCredential credential) throws io.confluent.security.authentication.AuthenticationException - Throws:
io.confluent.security.authentication.AuthenticationException
-
assumePrincipal
public Map<String,Object> assumePrincipal(Map<String, Object> claims, String poolId, String orgId) throws io.confluent.security.authentication.AuthenticationException, IllegalArgumentException- Throws:
io.confluent.security.authentication.AuthenticationExceptionIllegalArgumentException
-
assumePrincipal
public Map<String,Object> assumePrincipal(Map<String, Object> claims, String providerId, String poolId, String orgId) throws io.confluent.security.authentication.AuthenticationException, IllegalArgumentException- Throws:
io.confluent.security.authentication.AuthenticationExceptionIllegalArgumentException
-