Class BasicAuthBeans
java.lang.Object
com.emc.documentum.rest.context.jc.BasicAuthBeans
Beans for HTTP basic authentication.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.emc.documentum.rest.security.filter.BasicAuthFilter
basicAuthFilter
(org.springframework.security.authentication.AuthenticationManager authenticationManager) Provides the instance (not bean) of the basic authentication filter.org.springframework.security.authentication.AuthenticationProvider
Provides the bean of the basic authentication provider.org.springframework.security.authentication.AuthenticationProvider
Provides the bean of the basic authentication provider for client token support.com.emc.documentum.rest.security.entry.BasicAuthEntryPoint
Provides the bean of the basic authentication entry point.
-
Constructor Details
-
BasicAuthBeans
public BasicAuthBeans()
-
-
Method Details
-
basicAuthFilter
public com.emc.documentum.rest.security.filter.BasicAuthFilter basicAuthFilter(org.springframework.security.authentication.AuthenticationManager authenticationManager) Provides the instance (not bean) of the basic authentication filter.- Parameters:
authenticationManager
- the authentication manager from a HTTP security configuration- Returns:
- the basic authentication filter
-
basicAuthProvider
@Bean public org.springframework.security.authentication.AuthenticationProvider basicAuthProvider()Provides the bean of the basic authentication provider.- Returns:
- the basic authentication provider
-
basicAuthProviderWithClientToken
@Bean public org.springframework.security.authentication.AuthenticationProvider basicAuthProviderWithClientToken()Provides the bean of the basic authentication provider for client token support.- Returns:
- the basic authentication provider
-
basicEntryPoint
@Bean public com.emc.documentum.rest.security.entry.BasicAuthEntryPoint basicEntryPoint()Provides the bean of the basic authentication entry point.- Returns:
- the basic authentication entry point
-