Class SimpleByteSource

java.lang.Object
org.apache.shiro.lang.util.SimpleByteSource
All Implemented Interfaces:
ByteSource

public class SimpleByteSource extends Object implements ByteSource
Very simple ByteSource implementation that maintains an internal byte[] array and uses the Hex and Base64 codec classes to support the toHex() and toBase64() implementations.

The constructors on this class accept the following implicit byte-backed data types and will convert them to a byte-array automatically:

Since:
1.0