Fixed Pwd Authenticate issue.
This commit is contained in:
parent
316947e05f
commit
0262de0e3f
CASA-auth-token/server-java
Svc
package/linux
@ -119,7 +119,7 @@ AXIS_LIBS = $(AXIS_JARS_DIR)/axis.jar:$(AXIS_JARS_DIR)/saaj.jar:$(AXIS_JARS_DIR)
|
|||||||
#AXIS_LIBS = $(AXIS_JARS_DIR)/wss4j-1.5.0.jar
|
#AXIS_LIBS = $(AXIS_JARS_DIR)/wss4j-1.5.0.jar
|
||||||
|
|
||||||
LIBS = /usr/share/java/servletapi5.jar:/usr/share/java/xerces-j2.jar
|
LIBS = /usr/share/java/servletapi5.jar:/usr/share/java/xerces-j2.jar
|
||||||
CLASSPATH = $(AXIS_LIBS):$(IDENT_ABSTRACTION_DIR)/identity-abstraction.jar:$(IDENT_ABSTRACTION_DIR)/bandit-util.jar:$(IDENT_ABSTRACTION_DIR)/bandit-util-0.2.270.jar:$(LIBS)
|
CLASSPATH = $(AXIS_LIBS):$(IDENT_ABSTRACTION_DIR)/identity-abstraction.jar:$(IDENT_ABSTRACTION_DIR)/bandit-util.jar:$(LIBS)
|
||||||
|
|
||||||
CUR_DIR := $(shell pwd)
|
CUR_DIR := $(shell pwd)
|
||||||
|
|
||||||
|
@ -80,12 +80,12 @@ public final class PwdAuthenticate implements AuthMechanism, Serializable
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
// Decode the token
|
// Decode the token
|
||||||
byte[] tokenBytes = Base64Coder.decode(encodedToken);
|
//
|
||||||
|
|
||||||
// Unfortunately the password has to be passed to JNDI as a String. Given this,
|
// Unfortunately the password has to be passed to JNDI as a String. Given this,
|
||||||
// we are going to go ahead and convert the token to a String to facilitate
|
// we are going to go ahead and convert the token to a String to facilitate
|
||||||
// the parsing operation..
|
// the parsing operation..
|
||||||
tokenReader = new BufferedReader(new StringReader(tokenBytes.toString()));
|
String token = new String(Base64Coder.decode(encodedToken));
|
||||||
|
tokenReader = new BufferedReader(new StringReader(token));
|
||||||
|
|
||||||
// The first line contains the "username"
|
// The first line contains the "username"
|
||||||
m_username = tokenReader.readLine();
|
m_username = tokenReader.readLine();
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 12 10:23:06 MST 2007 - jluciani@novell.com
|
||||||
|
|
||||||
|
- Fix issue that was causing authentication to fail when using
|
||||||
|
Pwd authentication.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 8 15:26:15 MST 2007 - jluciani@novell.com
|
Mon Jan 8 15:26:15 MST 2007 - jluciani@novell.com
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user