Java Doc for OnlineUser.java in  » Forum » mvnforum-1.1 » com » mvnforum » auth » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Forum » mvnforum 1.1 » com.mvnforum.auth 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.mvnforum.auth.OnlineUser

All known Subclasses:   com.mvnforum.auth.OnlineUserImpl,
OnlineUser
public interface OnlineUser (Code)


Field Summary
final public static  intAUTHENTICATION_TYPE_COOKIE
    
final public static  intAUTHENTICATION_TYPE_CUSTOMIZATION
    
final public static  intAUTHENTICATION_TYPE_HTML_FORM
    
final public static  intAUTHENTICATION_TYPE_REALM
    
final public static  intAUTHENTICATION_TYPE_SESSION
    
final public static  intAUTHENTICATION_TYPE_UNAUTHENTICATED
    


Method Summary
public  voidbuildNewCaptcha()
     Build a new captcha, this method must be called before using some action that need captcha validation.
public  java.util.DateconvertGMTDate(java.util.Date gmtDate)
    
public  TimestampconvertGMTTimestamp(Timestamp gmtTimestamp)
    
public  voiddestroyCurrentCaptcha()
    
public  voidensureCorrectCaptchaResponse(String answer)
    
public  intgetAuthenticationType()
    
public  StringgetCssPath()
    
public  StringgetCssPath(HttpServletRequest request)
    
public  BufferedImagegetCurrentCaptchaImage()
    
public  StringgetGMTDateFormat(java.util.Date gmtDate)
    
public  StringgetGMTDateFormat(java.util.Date gmtDate, boolean adjustTimeZone)
    
public  StringgetGMTTimestampFormat(Timestamp gmtTimestamp)
    
public  StringgetGMTTimestampFormat(Timestamp gmtTimestamp, boolean adjustTimeZone)
    
public  StringgetLastLogonIP()
    
public  TimestampgetLastLogonTimestamp()
    
public  LocalegetLocale()
    
public  StringgetLocaleName()
    
public  StringgetLogoPath()
    
public  intgetMemberID()
    
public  StringgetMemberName()
    
public  intgetMessagesPerPage()
    
public  intgetNewMessageCount()
     Get the number of new private messages of this user.
public  OnlineUserActiongetOnlineUserAction()
    
public  SetgetParticipants()
    
public  MVNForumPermissiongetPermission()
    
public  intgetPostsPerPage()
    
public  doublegetTimeZone()
    
public  StringgetTimeZoneFormat()
    
public  SetgetWaitingList()
    
public  ObjectgetXMPPConnection()
    
public  booleanisGuest()
    
public  booleanisInvisibleMember()
    
public  booleanisMember()
    
public  booleanisPasswordExpired()
     Check if this member's password is expired.
public  voidreloadPermission()
    
public  voidreloadProfile()
    
public  voidremoveParticipant(Object conn)
    
public  voidremoveWaiting(Object conn)
    
public  voidsetCssPath(String path)
    
public  voidsetLocaleName(String localeName)
    
public  voidsetLogoPath(String path)
    
public  voidsetParticipants(Object conn)
    
public  voidsetWaitingList(Object conn)
    
public  voidsetXMPPConnection(Object conn)
    
public  booleanupdateNewMessageCount(boolean force)
     Update the new message count value.
public  booleanvalidateCaptchaResponse(String anwser)
    

Field Detail
AUTHENTICATION_TYPE_COOKIE
final public static int AUTHENTICATION_TYPE_COOKIE(Code)



AUTHENTICATION_TYPE_CUSTOMIZATION
final public static int AUTHENTICATION_TYPE_CUSTOMIZATION(Code)



AUTHENTICATION_TYPE_HTML_FORM
final public static int AUTHENTICATION_TYPE_HTML_FORM(Code)



AUTHENTICATION_TYPE_REALM
final public static int AUTHENTICATION_TYPE_REALM(Code)



AUTHENTICATION_TYPE_SESSION
final public static int AUTHENTICATION_TYPE_SESSION(Code)



AUTHENTICATION_TYPE_UNAUTHENTICATED
final public static int AUTHENTICATION_TYPE_UNAUTHENTICATED(Code)
Constants





Method Detail
buildNewCaptcha
public void buildNewCaptcha()(Code)
Build a new captcha, this method must be called before using some action that need captcha validation.



convertGMTDate
public java.util.Date convertGMTDate(java.util.Date gmtDate)(Code)



convertGMTTimestamp
public Timestamp convertGMTTimestamp(Timestamp gmtTimestamp)(Code)



destroyCurrentCaptcha
public void destroyCurrentCaptcha()(Code)
Destroy the current captcha, this method must be called after validate the captcha



ensureCorrectCaptchaResponse
public void ensureCorrectCaptchaResponse(String answer) throws BadInputException(Code)
Check to make sure that the captcha answer is correct
Parameters:
  answer - String the captcha answer to check
throws:
  BadInputException - in case the captcha answer is not correct



getAuthenticationType
public int getAuthenticationType()(Code)
Get the authentication type that user did used to login int the authentication type



getCssPath
public String getCssPath()(Code)
Get the full ABSOLUTE path of the css file String the full ABSOLUTE path of the css file



getCssPath
public String getCssPath(HttpServletRequest request)(Code)
Get the full ABSOLUTE path of the css file String the full ABSOLUTE path of the css file,this method can customize the path based on parameter in request



getCurrentCaptchaImage
public BufferedImage getCurrentCaptchaImage()(Code)
Get the captcha image to challenge the user BufferedImage the captcha image to challenge the user



getGMTDateFormat
public String getGMTDateFormat(java.util.Date gmtDate)(Code)



getGMTDateFormat
public String getGMTDateFormat(java.util.Date gmtDate, boolean adjustTimeZone)(Code)



getGMTTimestampFormat
public String getGMTTimestampFormat(Timestamp gmtTimestamp)(Code)



getGMTTimestampFormat
public String getGMTTimestampFormat(Timestamp gmtTimestamp, boolean adjustTimeZone)(Code)



getLastLogonIP
public String getLastLogonIP()(Code)
Get the IP of the last time this user login String



getLastLogonTimestamp
public Timestamp getLastLogonTimestamp()(Code)
Get the timestampt of the last time this user login Timestamp



getLocale
public Locale getLocale()(Code)
Get the current locale of this user Locale the current locale of this user



getLocaleName
public String getLocaleName()(Code)
Get the current locale name of this user String the current locale name of this user



getLogoPath
public String getLogoPath()(Code)
Get the full ABSOLUTE path of the logo file String the full ABSOLUTE path of the logo file



getMemberID
public int getMemberID()(Code)
Get the numeric member id of this user int the numeric member id of this user



getMemberName
public String getMemberName()(Code)
Get the memberName that is used to login String the memberName that is used to login



getMessagesPerPage
public int getMessagesPerPage()(Code)
Get the number of private messages that shown in one page for this user int the number of items that shown in one page



getNewMessageCount
public int getNewMessageCount()(Code)
Get the number of new private messages of this user. int the number of new private messages of this user



getOnlineUserAction
public OnlineUserAction getOnlineUserAction()(Code)
Get the current action of this user in the system OnlineUserAction



getParticipants
public Set getParticipants()(Code)



getPermission
public MVNForumPermission getPermission()(Code)
Get the permission that this user currently has MVNForumPermission



getPostsPerPage
public int getPostsPerPage()(Code)
Get the number of items that shown in one page for this user int the number of items that shown in one page



getTimeZone
public double getTimeZone()(Code)
Get the current timezone of this user current timezone of this user



getTimeZoneFormat
public String getTimeZoneFormat()(Code)



getWaitingList
public Set getWaitingList()(Code)



getXMPPConnection
public Object getXMPPConnection()(Code)



isGuest
public boolean isGuest()(Code)
Check if this user is guest (not login yet) or already authenticated boolean true if this user is guest (not login yet)



isInvisibleMember
public boolean isInvisibleMember()(Code)
Check if this user prefer the invisible mode boolean true if this user prefer the invisible mode



isMember
public boolean isMember()(Code)
Check if this user is already authenticated boolean true if this user is already authenticated



isPasswordExpired
public boolean isPasswordExpired()(Code)
Check if this member's password is expired. For single sign on, this method should always return false boolean true if password is expired



reloadPermission
public void reloadPermission()(Code)
Reload the permission from the underlying database



reloadProfile
public void reloadProfile()(Code)
Reload the user's profile from the underlying database



removeParticipant
public void removeParticipant(Object conn)(Code)



removeWaiting
public void removeWaiting(Object conn)(Code)



setCssPath
public void setCssPath(String path)(Code)



setLocaleName
public void setLocaleName(String localeName)(Code)
Set the locale name for the current online user
Parameters:
  localeName - String



setLogoPath
public void setLogoPath(String path)(Code)



setParticipants
public void setParticipants(Object conn)(Code)



setWaitingList
public void setWaitingList(Object conn)(Code)



setXMPPConnection
public void setXMPPConnection(Object conn)(Code)



updateNewMessageCount
public boolean updateNewMessageCount(boolean force)(Code)
Update the new message count value. The implementation should provide an effectively method if parameter force is false since this method is called many time.

In case force is true, update it immediately boolean values. It's true if the new message countgreater than the current message count




validateCaptchaResponse
public boolean validateCaptchaResponse(String anwser)(Code)
Validate the anwser of the captcha from user
Parameters:
  anwser - String the captcha anwser from user boolean true if the answer is valid, otherwise return false



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.