|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.owasp.esapi.codecs.Codec org.owasp.esapi.codecs.OracleCodec
public class OracleCodec
Implementation of the Codec interface for Oracle strings. This function will only protect you from SQLi in the case of user data bring placed within an Oracle quoted string such as: select * from table where user_name=' USERDATA ';
Encoder
Constructor Summary | |
---|---|
OracleCodec()
|
Method Summary | |
---|---|
java.lang.Character |
decodeCharacter(PushbackString input)
Returns the decoded version of the next character from the input string and advances the current character in the PushbackString. |
java.lang.String |
encodeCharacter(char[] immune,
java.lang.Character c)
Default implementation that should be overridden in specific codecs. |
Methods inherited from class org.owasp.esapi.codecs.Codec |
---|
containsCharacter, decode, encode, getHexForNonAlphanumeric, toHex, toOctal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OracleCodec()
Method Detail |
---|
public java.lang.String encodeCharacter(char[] immune, java.lang.Character c)
encodeCharacter
in class Codec
immune
- c
- the Character to encode
public java.lang.Character decodeCharacter(PushbackString input)
decodeCharacter
in class Codec
input
- the Character to decode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |