This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Java in General and the fly likes how would you build program to detect if your logged into application? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how would you build program to detect if your logged into application?" Watch "how would you build program to detect if your logged into application?" New topic
Author

how would you build program to detect if your logged into application?

steve labar
Ranch Hand

Joined: Sep 10, 2008
Posts: 55
i'm looking to build application that does scanning. I'd like it to recognize whether or not it is logged in. just looking for ideas how best to do this. I'm open to all ideas / algoithms to use.i'm thinking a regex match on page difference when logged in vs not.. But there is not much literature on this what you all think?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41621
    
  55
I think you left out too many details. What does "scanning" mean - scanning what? Also, logged into what? Logged in how? What do regexps have to do with it, and what does "page difference" mean in this context?


Ping & DNS - my free Android networking tools app
steve labar
Ranch Hand

Joined: Sep 10, 2008
Posts: 55
Sorry about that. I would be testing security stuff. So the application would need to know if it is logged into a given application. So, lets say for example it was scanning this site . If i was able to get to "My Profile" and not logged in it would know there was a security issue. It needs to recognized if it is authenticated or non authenticated.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41621
    
  55
Wouldn't the application know if it did log in to some web site? It would have had to supply a password; it it didn't then it's not logged in. I think I'm missing something...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how would you build program to detect if your logged into application?