protected static class AuthenticationBeanConfiguration.SpringDataGeodeAuthentication extends Object implements Authentication<String,String>
Modifier | Constructor and Description |
---|---|
protected |
SpringDataGeodeAuthentication(Supplier<String> username,
Supplier<String> password) |
Modifier and Type | Method and Description |
---|---|
static AuthenticationBeanConfiguration.SpringDataGeodeAuthentication |
from(Supplier<String> username,
Supplier<String> password) |
String |
getCredentials()
Returns an
Object with credentials that prove the principal is correct
and is who they say they are. |
String |
getPrincipal()
Returns an
Object identifying the principal being authenticated. |
boolean |
isRequested()
Determines whether authentication was actually requested.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isAuthenticated
@NonNull public static AuthenticationBeanConfiguration.SpringDataGeodeAuthentication from(@NonNull Supplier<String> username, @NonNull Supplier<String> password)
public boolean isRequested()
Authentication
PRINCIPAL
and CREDENTIALS
. However, even if authentication
was requested, it does not necessarily mean the PRINCIPAL
successfully authenticated.isRequested
in interface Authentication<String,String>
Authentication.getCredentials()
,
Authentication.getPrincipal()
@NonNull public String getPrincipal()
Authentication
Object
identifying the principal being authenticated.getPrincipal
in interface Authentication<String,String>
Object
identifying the principal being authenticated.@NonNull public String getCredentials()
Authentication
Object
with credentials that prove the principal is correct
and is who they say they are.getCredentials
in interface Authentication<String,String>
Object
with credentials that prove the principal is correct.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.