Class ReverseProxyUserDetails
- java.lang.Object
-
- org.jenkinsci.plugins.reverse_proxy_auth.model.ReverseProxyUserDetails
-
- All Implemented Interfaces:
Serializable
,UserDetails
public class ReverseProxyUserDetails extends Object implements UserDetails
- Author:
- Wilder Rodrigues (wrodrigues@schubergphilis.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReverseProxyUserDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Attributes
getAttributes()
GrantedAuthority[]
getAuthorities()
String
getPassword()
String
getUsername()
boolean
isAccountNonExpired()
boolean
isAccountNonLocked()
boolean
isCredentialsNonExpired()
boolean
isEnabled()
void
setAuthorities(GrantedAuthority[] authorities)
void
setUsername(String username)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.acegisecurity.userdetails.UserDetails
toSpring
-
-
-
-
Method Detail
-
getAuthorities
@CheckForNull public GrantedAuthority[] getAuthorities()
- Specified by:
getAuthorities
in interfaceUserDetails
-
setAuthorities
public void setAuthorities(@CheckForNull GrantedAuthority[] authorities)
-
getPassword
public String getPassword()
- Specified by:
getPassword
in interfaceUserDetails
-
getUsername
@CheckForNull public String getUsername()
- Specified by:
getUsername
in interfaceUserDetails
-
setUsername
public void setUsername(String username)
-
isAccountNonExpired
public boolean isAccountNonExpired()
- Specified by:
isAccountNonExpired
in interfaceUserDetails
-
isAccountNonLocked
public boolean isAccountNonLocked()
- Specified by:
isAccountNonLocked
in interfaceUserDetails
-
isCredentialsNonExpired
public boolean isCredentialsNonExpired()
- Specified by:
isCredentialsNonExpired
in interfaceUserDetails
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interfaceUserDetails
-
getAttributes
public Attributes getAttributes()
-
-