|
RichFaces Photoalbum 4.3.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.richfaces.photoalbum.manager.Authenticator
@Named @ApplicationScoped public class Authenticator
| Constructor Summary | |
|---|---|
Authenticator()
|
|
| Method Summary | |
|---|---|
boolean |
authenticate()
Method, that invoked when user try to login to the application. |
boolean |
authenticateWithFacebook()
|
boolean |
authenticateWithGPlus()
|
User |
getUser()
|
void |
goToRegister()
Method, that invoked when user want to go to the registration screen |
boolean |
isConversationStarted()
|
boolean |
isLoginFailed()
|
void |
logout()
Method, that invoked when user logout from application. |
void |
register(User user)
Method, that invoked when user try to register in the application. |
void |
setAvatarData(File avatarData)
|
void |
setConversationStarted(boolean conversationStarted)
|
void |
setLoginFailed(boolean loginFailed)
|
void |
setUser(User user)
|
String |
startConversation()
Method, that invoked when new conversation is started. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Authenticator()
| Method Detail |
|---|
public User getUser()
public void setUser(User user)
public boolean authenticate()
public boolean authenticateWithFacebook()
public boolean authenticateWithGPlus()
public void logout()
public void register(User user)
user - - user object, that will be passed to registration procedure.public void goToRegister()
@PostConstruct public String startConversation()
public boolean isLoginFailed()
public void setLoginFailed(boolean loginFailed)
public boolean isConversationStarted()
public void setConversationStarted(boolean conversationStarted)
public void setAvatarData(File avatarData)
|
RichFaces Photoalbum 4.3.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||