Is there a way to re-brand SpringXD?
I would like to remove the default SpringXD logo appearing in the XD shell and the Admin User Interface.
You can't do that unless change the banner.txt content in the spring-xd-dirt.jar and spring-xd-shell.jar.
From other side explain, please, the reason of that: may be we ask you for the JIRA issue.
Related
I have a unique requirement, I have setup a PC which would auto login to a particular user id say 'autologinuser', when ever we switch on the PC it would automatically logs into 'autologinuser' as configured.
During the login, it would show which using is getting logged in with welcome text under it.
I would like to hide the user name and don't want to visible during auto login process, only windows text should be visible.
Can this be possible?
Thanks & Regards,
-Anil Katta
Looks like windows operating system don't provide this feature at this point of time, and there is no specific registry to do so.
May be this feature good to expect in future releases.
I have multiple language on site , so in Admin panel not work button "Create new" in ger-DE but working in eng-GB
i have no idea what is reason of this issue.
It is my siteAccess for ger-DE
[RegionalSettings]
Locale=ger-DE
ContentObjectLocale=ger-DE
SiteLanguageList[]
SiteLanguageList[]=eng-GB
SiteLanguageList[]=ger-DE
if i will change like this
[RegionalSettings]
Locale=ger-DE
ContentObjectLocale=ger-DE
SiteLanguageList[]
SiteLanguageList[]=ger-DE
SiteLanguageList[]=eng-GB
Than it working. but half of admin panel is on english . what i`m do wrong ?
You need to set TextTranslation option to enabled, too which enables translating the interface. Complete example:
[RegionalSettings]
Locale=ger-DE
ContentObjectLocale=ger-DE
SiteLanguageList[]
SiteLanguageList[]=ger-DE
SiteLanguageList[]=eng-GB
TextTranslation=enabled
Note that you also need to clear ALL the caches for this change to work.
I translate all classes to all languages and it`s work now!
Hi I have created an module with a custom transactional email, which works fine when i place the default-template-file in
app/locale/de_DE/template/email/sales/mymail.html
but i need to place it into my template
app/design/frontend/ultimo/custom/locale/de_DE/templete/email/sales/mymail.html
but on this path it isn't found, i even tried otherplaces like
app/design/frontend/base/default/locale/de_DE/templete/email/sales/mymail.html
app/design/adminhtml/default/default/locale/de_DE/templete/email/sales/mymail.html
but neither works. Isn't there any fallback mechanism for these file? If yes, can anyone explain it to me?
Thanks
I would like to change a file to read only from my application.
For that i have used,
SetFileAttributes(szFile, FILE_ATTRIBUTE_READONLY);
And worked.
But the readonly property could be changed from the file properties on right clicking the file.
But I would like to block that too...
Is it possible to disable the Read-Only check-box in the file-properties, after making the file readonly.
if possible how it could be done..?
please help me...
Thanks in advance....
You need to set Read Permissions to everyone. See for example SetNamedSecurityInfo function. Or Cacls utility.
You can't do this. If the user account has sufficient privileges, then whatever your program can do, other programs (like Windows Explorer and its file properties) can do as well. However if the user is restricted to a limited user account, you can set the security descriptor on the file to prevent the user from modifying the attributes.
I'm working on a Web Service project to provide data to a partner. Our app is really light weight and has only a handful of APIs. Because of time constraint and in-house pre-existing knowledge we went the Spring MVC / Spring Security path to serve those restful APIs.
At any rate this is a B2B project where we are expecting only that partner to hit our servers. So it seems a little over kill to modify are very small db schemas to add tables that would contain only 1 user access record for that partner...
Heard someone say though that it's possible to use an encrypted file, or at least a file where the password information is encrypted, instead of the database to hold the Spring Security user access information... Is that true? If it is can anyone point me to some references? I couldn't find anything relevant on Google at first glance... :(
Thanks.
http://www.mularien.com/blog/2008/07/07/5-minute-guide-to-spring-security/
See the '' under the authentication-provider; this allows you to use encrypted passwords (use sha). If you only have a single user and you wanted the information in an external file, then you could use a property file configuration placeholder to simply specify
${user.1.id} ${user.1.passwordenc},etc... kinda hacky, but it would work.
It's VERY possible. In fact, you can do it without coding; it's pretty simple to include the credentials directly in the XML defining the Spring Security stuff. You usually see this in examples, followed by warnings to "DON'T DO IT LIKE THIS!"
If in-house security is no big deal and you're not worried that your developers can see your password (as if they needed it, heh!) and no one else is likely to access your configuration files, then this is a quick and easy yet workable solution.
I'm going to post this, but I'm off to go dig in the Spring Security documentation for the example I was talking about I'll be back!
Update
Trever Schick was a bit faster with the example. I had a different example in mind but his code shows exactly what I was talking about. You define your security provider in the XML and provide user ID/password right there. There are a number of utilities available on the 'net for you to MD5 or SHA encode your password for you so you can cut and paste it into the file.
You need to implement a new org.springframework.security.core.userdetails.UserDetailsService that reads the user's information (username, password, enabled flag, and authorities) from a file. I don't know if someone already implemented it.