public class CrafterAuthenticationUserDetailsService extends Object implements org.springframework.security.core.userdetails.AuthenticationUserDetailsService
| Constructor and Description |
|---|
CrafterAuthenticationUserDetailsService() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.userdetails.UserDetails |
loadUserDetails(org.springframework.security.core.Authentication token) |
void |
setCrafterProfileAppPassword(String crafterProfileAppPassword) |
void |
setCrafterProfileAppTenantName(String crafterProfileAppTenantName) |
void |
setCrafterProfileAppUsername(String crafterProfileAppUsername) |
void |
setProfileClient(ProfileClient profileClient) |
public CrafterAuthenticationUserDetailsService()
public org.springframework.security.core.userdetails.UserDetails loadUserDetails(org.springframework.security.core.Authentication token)
throws org.springframework.security.core.userdetails.UsernameNotFoundException
loadUserDetails in interface org.springframework.security.core.userdetails.AuthenticationUserDetailsServiceorg.springframework.security.core.userdetails.UsernameNotFoundExceptionpublic void setProfileClient(ProfileClient profileClient)
@Value(value="${crafter.profile.app.username}")
public void setCrafterProfileAppUsername(String crafterProfileAppUsername)
@Value(value="${crafter.profile.app.password}")
public void setCrafterProfileAppPassword(String crafterProfileAppPassword)
@Value(value="${crafter.profile.app.tenantName}")
public void setCrafterProfileAppTenantName(String crafterProfileAppTenantName)
Copyright © 2014 CrafterCMS. All Rights Reserved.