public class UserAuthenticationFactoryImpl extends java.lang.Object implements UserAuthenticationFactory
Constructor and Description |
---|
UserAuthenticationFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
@NotNull Authentication |
getAuthentication(@NotNull UserConfiguration userConfiguration,
@NotNull Root root,
@Nullable java.lang.String userId)
Returns an implementation
Authentication
for the specified userId . |
@NotNull public @NotNull Authentication getAuthentication(@NotNull @NotNull UserConfiguration userConfiguration, @NotNull @NotNull Root root, @Nullable @Nullable java.lang.String userId)
UserAuthenticationFactory
Authentication
for the specified userId
.getAuthentication
in interface UserAuthenticationFactory
userConfiguration
- The user configuration.root
- The Root
that provides repository access.userId
- The userId for which a user authentication is provided.configuration
and
userId
or null
if this implementation cannot not handle the
specified parameters.Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.