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 UserAuthenticationTypepublic String getUsername()
AmbariProxyUserDetailsgetUsername in interface AmbariProxyUserDetailspublic UserAuthenticationType getAuthenticationType()
AmbariProxyUserDetailsgetAuthenticationType in interface AmbariProxyUserDetailsUserAuthenticationTypeCopyright © 2022 Apache Software Foundation. All rights reserved.