com.tensegrity.palowebviewer.server.security
Class BaseMd5Authentificator

java.lang.Object
  extended by com.tensegrity.palowebviewer.server.security.BaseMd5Authentificator
All Implemented Interfaces:
IAuthenificator
Direct Known Subclasses:
TestEnviromentAuthenificator

public abstract class BaseMd5Authentificator
extends java.lang.Object
implements IAuthenificator

BaseMd5Authentificator for authenificate user from cookies


Constructor Summary
BaseMd5Authentificator()
          Create BaseMd5Authentificator, initialize md5 algorithm
 
Method Summary
 java.lang.String calculateHash(java.lang.String key)
          Calculate hash for a given key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.tensegrity.palowebviewer.server.security.IAuthenificator
authentificate, hashAuthentificate
 

Constructor Detail

BaseMd5Authentificator

public BaseMd5Authentificator()
                       throws PaloWebViewerException
Create BaseMd5Authentificator, initialize md5 algorithm

Throws:
PaloWebViewerException - if can't create md5 algorithm
Method Detail

calculateHash

public java.lang.String calculateHash(java.lang.String key)
Calculate hash for a given key

Specified by:
calculateHash in interface IAuthenificator
Parameters:
key - password
Returns:
hash