public class AmbariProxyUserDetailsImpl extends Object implements AmbariProxyUserDetails
AmbariProxyUserDetails
.Constructor and Description |
---|
AmbariProxyUserDetailsImpl(String username,
UserAuthenticationType authenticationType)
Constructor
|
Modifier and Type | Method and Description |
---|---|
UserAuthenticationType |
getAuthenticationType()
Returns the authentication type used to peform authentication.
|
String |
getUsername()
Returns the local username of the authenticated proxy user.
|
public AmbariProxyUserDetailsImpl(String username, UserAuthenticationType authenticationType)
username
- the local usernameauthenticationType
- the UserAuthenticationType
public String getUsername()
AmbariProxyUserDetails
getUsername
in interface AmbariProxyUserDetails
public UserAuthenticationType getAuthenticationType()
AmbariProxyUserDetails
getAuthenticationType
in interface AmbariProxyUserDetails
UserAuthenticationType
Copyright © 2022 Apache Software Foundation. All rights reserved.