org.camunda.bpm.engine.rest.security.auth
Class AuthenticationResult

java.lang.Object
  extended by org.camunda.bpm.engine.rest.security.auth.AuthenticationResult

public class AuthenticationResult
extends Object


Field Summary
protected  String authenticatedUser
           
protected  boolean isAuthenticated
           
 
Constructor Summary
AuthenticationResult(String authenticatedUser, boolean isAuthenticated)
           
 
Method Summary
 String getAuthenticatedUser()
           
 boolean isAuthenticated()
           
 void setAuthenticated(boolean isAuthenticated)
           
 void setAuthenticatedUser(String authenticatedUser)
           
static AuthenticationResult successful(String userId)
           
static AuthenticationResult unsuccessful()
           
static AuthenticationResult unsuccessful(String userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

authenticatedUser

protected String authenticatedUser

isAuthenticated

protected boolean isAuthenticated
Constructor Detail

AuthenticationResult

public AuthenticationResult(String authenticatedUser,
                            boolean isAuthenticated)
Method Detail

getAuthenticatedUser

public String getAuthenticatedUser()

setAuthenticatedUser

public void setAuthenticatedUser(String authenticatedUser)

isAuthenticated

public boolean isAuthenticated()

setAuthenticated

public void setAuthenticated(boolean isAuthenticated)

successful

public static AuthenticationResult successful(String userId)

unsuccessful

public static AuthenticationResult unsuccessful()

unsuccessful

public static AuthenticationResult unsuccessful(String userId)


Copyright © 2016 camunda services GmbH. All rights reserved.