org.kuali.common.util.enc
Class EncContext.Builder

java.lang.Object
  extended by org.kuali.common.util.enc.EncContext.Builder
Enclosing class:
EncContext

public static class EncContext.Builder
extends Object


Constructor Summary
EncContext.Builder()
          Use system properties / environment variables to locate the encryption password
EncContext.Builder(EnvironmentService env)
          Locate the encryption password in the environment
EncContext.Builder(EnvironmentService env, String password)
          Use the password they gave us, unless it is overridden by a password in the environment
EncContext.Builder(String password)
          Setup encryption using password
 
Method Summary
 EncContext build()
           
 EncContext.Builder removeSystemProperties(boolean removeSystemProperties)
           
 EncContext.Builder required(boolean required)
           
 EncContext.Builder strength(EncStrength strength)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncContext.Builder

public EncContext.Builder(String password)
Setup encryption using password


EncContext.Builder

public EncContext.Builder(EnvironmentService env,
                          String password)
Use the password they gave us, unless it is overridden by a password in the environment


EncContext.Builder

public EncContext.Builder()
Use system properties / environment variables to locate the encryption password


EncContext.Builder

public EncContext.Builder(EnvironmentService env)
Locate the encryption password in the environment

Method Detail

removeSystemProperties

public EncContext.Builder removeSystemProperties(boolean removeSystemProperties)

required

public EncContext.Builder required(boolean required)

strength

public EncContext.Builder strength(EncStrength strength)

build

public EncContext build()


Copyright © 2010–2014 The Kuali Foundation. All rights reserved.