org.ztemplates.web.spring
Class ZEncryptionServiceSpring

java.lang.Object
  extended by org.ztemplates.web.spring.ZEncryptionServiceSpring
All Implemented Interfaces:
ZIEncryptionService, ZIService

@Component(value="ZIEncryptionService")
@Scope(value="request")
public class ZEncryptionServiceSpring
extends Object
implements ZIEncryptionService

Spring proxy for ZIEncryptionService

Author:
gerd

Field Summary
 
Fields inherited from interface org.ztemplates.web.ZIEncryptionService
SPRING_NAME
 
Constructor Summary
ZEncryptionServiceSpring()
           
 
Method Summary
 String decrypt(String s)
          encrypts the string and its md5hash
 String encrypt(String s)
          encrypts the string and its md5hash
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZEncryptionServiceSpring

public ZEncryptionServiceSpring()
Method Detail

encrypt

public String encrypt(String s)
               throws Exception
Description copied from interface: ZIEncryptionService
encrypts the string and its md5hash

Specified by:
encrypt in interface ZIEncryptionService
Returns:
Throws:
Exception

decrypt

public String decrypt(String s)
               throws Exception
Description copied from interface: ZIEncryptionService
encrypts the string and its md5hash

Specified by:
decrypt in interface ZIEncryptionService
Returns:
Throws:
Exception


Copyright © 2011. All Rights Reserved.