edu.internet2.middleware.grouperClientExt.edu.internet2.middleware.morphString
Class Morph

java.lang.Object
  extended by edu.internet2.middleware.grouperClientExt.edu.internet2.middleware.morphString.Morph

public class Morph
extends Object

Author:
Chris Hyzer

Field Summary
static String ENCRYPT_KEY
           
static String testMorphKey
          if testing, and not relying on morph key being there, use this
 
Method Summary
static String decrypt(String in)
          This will decrypt a string from an external file if a slash is there.
static String decryptIfFile(String in)
          This will decrypt a string from an external file if a slash is there.
static String encrypt(String in)
           
static String key()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENCRYPT_KEY

public static final String ENCRYPT_KEY
See Also:
Constant Field Values

testMorphKey

public static String testMorphKey
if testing, and not relying on morph key being there, use this

Method Detail

encrypt

public static String encrypt(String in)
Parameters:
in - $objectType$
Returns:
String

decrypt

public static String decrypt(String in)
This will decrypt a string from an external file if a slash is there. Otherwise it will just return the input since it is just what is being looked for

Parameters:
in - $objectType$
Returns:
String

decryptIfFile

public static String decryptIfFile(String in)
This will decrypt a string from an external file if a slash is there. Otherwise it will just return the input since it is just what is being looked for

Parameters:
in - $objectType$
Returns:
String

key

public static String key()
Returns:
the key to encrypt/decrypt


Copyright © 2010 Internet2. All Rights Reserved.