Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Grouper Password encryption

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Grouper Password encryption


Chronological Thread 
  • From: "Sachdeva, Vivek" <>
  • To: Chris Hyzer <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] Grouper Password encryption
  • Date: Tue, 25 Nov 2014 04:09:06 +0000
  • Accept-language: en-US

I see.. Thanks a lot Chris!

From: Chris Hyzer <>
Date: Tue, 25 Nov 2014 03:39:25 +0000
To: vivek sachdeva <>
Cc: "" <>
Subject: RE: [grouper-users] Grouper Password encryption

Oh, if you are encrypting the password, it must be in an external file by absolute path.  i.e. if Grouper sees a File delimiter, it will open the file, get the contents, and unencrypt.  If not, just uses the password.  Ok?  Thanks, chris

 

 

From: Sachdeva, Vivek []
Sent: Monday, November 24, 2014 8:46 PM
To: Chris Hyzer
Cc:
Subject: Re: [grouper-users] Grouper Password encryption

 

I am seeing the following exception:

 

Couldnt startup grouper: Problems with db: DB: user: ucla db user, url: jdbc:sqlserver://ucla database server ;databaseName=database name, driver: com.microsoft.sqlserver.jdbc.SQLServerDriver

java.lang.RuntimeException: Problems with db: DB: user: ucla db user, url: jdbc:sqlserver://ucla database server;databaseName=ucla db name, driver: com.microsoft.sqlserver.jdbc.SQLServerDriver

at edu.internet2.middleware.grouper.app.loader.db.GrouperLoaderDb.connection(GrouperLoaderDb.java:57)

at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrapHelper(GrouperDdlUtils.java:422)

at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrap(GrouperDdlUtils.java:326)

at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:238)

at edu.internet2.middleware.grouper.ui.GrouperUiFilter.init(GrouperUiFilter.java:838)

at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)

at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)

at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)

at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:976)

at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1653)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

at java.util.concurrent.FutureTask.run(FutureTask.java:166)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:724)

 

This is how my morphString.properties file look like:

 

# Put a random alphanumeric string (Case sensitive) for the password encryption.  e.g. fh43IRJ4Nf5

# or put a filename where the random alphanumeric string is.  e.g. c:/whatever/key.txt

#encrypt.key = /Users/vsachdeva/key.txt

encrypt.key = viveksachdeva

# set this to true if you have slashes in your passwords and dont want to look in external files or unencrypt

encrypt.disableExternalFileLookup = false

 

And I generated the password using morphString.jar and that password when put into external file works fine but when I put the same password in the hibernate properties file, it does not work.

 

Thanks,

Vivek

 

 

From: Chris Hyzer <>
Reply-To: Chris Hyzer <>
Date: Mon, 24 Nov 2014 20:20:32 -0500
To: vivek sachdeva <>, "" <>
Subject: RE: [grouper-users] Grouper Password encryption

 

Can you give us a detailed example of what doesn't work? Thanks, Chris


-------- Original message --------
From: "Sachdeva, Vivek" <>
Date: 11/24/2014 7:41 PM (GMT-05:00)
To:
Subject: [grouper-users] Grouper Password encryption

Hi,

 

I am trying to encrypt the password. It works when I use the external files to store the key and encrypted password. When I use the same key as in external file in morphString.properties and use the same encrypted password as in external password file in hibernate properties file, it does not work. Any ideas?

 

Thanks,

Vivek

 

 




Archive powered by MHonArc 2.6.16.

Top of Page