Class AuthenticationDto
- java.lang.Object
-
- org.camunda.bpm.webapp.impl.security.auth.AuthenticationDto
-
public class AuthenticationDto extends java.lang.Object
- Author:
- Daniel Meyer, nico.rehwaldt
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.String>
authorizedApps
protected java.lang.String
userId
-
Constructor Summary
Constructors Constructor Description AuthenticationDto()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthenticationDto
fromAuthentication(Authentication authentication)
java.util.List<java.lang.String>
getAuthorizedApps()
java.lang.String
getUserId()
void
setAuthorizedApps(java.util.List<java.lang.String> authorizedApps)
void
setUserId(java.lang.String userId)
-
-
-
Method Detail
-
fromAuthentication
public static AuthenticationDto fromAuthentication(Authentication authentication)
-
getUserId
public java.lang.String getUserId()
-
setUserId
public void setUserId(java.lang.String userId)
-
setAuthorizedApps
public void setAuthorizedApps(java.util.List<java.lang.String> authorizedApps)
-
getAuthorizedApps
public java.util.List<java.lang.String> getAuthorizedApps()
-
-