Class ViewAsData
- java.lang.Object
-
- com.xebialabs.deployit.security.authentication.viewas.ViewAsData
-
- All Implemented Interfaces:
java.io.Serializable
@Component("viewAsData") @Scope(value="session", proxyMode=TARGET_CLASS) public class ViewAsData extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ViewAsData()ViewAsData(java.util.List<com.xebialabs.deployit.security.Role> roles)ViewAsData(org.springframework.security.core.Authentication user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<com.xebialabs.deployit.security.Role>getRoles()org.springframework.security.core.AuthenticationgetUser()voidsetRoles(java.util.List<com.xebialabs.deployit.security.Role> roles)voidsetUser(org.springframework.security.core.Authentication user)
-
-
-
Method Detail
-
getRoles
public java.util.List<com.xebialabs.deployit.security.Role> getRoles()
-
setRoles
public void setRoles(java.util.List<com.xebialabs.deployit.security.Role> roles)
-
getUser
public org.springframework.security.core.Authentication getUser()
-
setUser
public void setUser(org.springframework.security.core.Authentication user)
-
-