Comments (17)
lets start with the JSPs. There are no JSPs directly in the openunison-k8s-login-activedirectory
project. Their all inherited from the war from this section of pom.xml
:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<overlays>
<overlay>
<groupId>com.tremolosecurity.unison</groupId>
<artifactId>open-unison-webapp</artifactId>
</overlay>
</overlays>
</configuration>
</plugin>
so there won't be any JSPs in your own project except what you add and cli-login-finished.jsp. What are you expecting to see that you don't? When you run mvn clean package
and look in target/war/work/com.tremolosecurity.unison/open-unison-webapp/auth/forms
you should see all the jsps:
ls target/war/work/com.tremolosecurity.unison/open-unison-webapp/auth/forms
acknowledge.jsp error.jsp jump.jsp pwdResetEmail.jsp u2fAuth.jsp
chooseLogin.jsp firstRunError.jsp loginTest.jsp pwdResetNoUser.jsp u2fRegistrationComplete.jsp
clearLogin.jsp font/ loginTestSimple.jsp pwdResetSplash.jsp u2fRegistration.jsp
css/ fonts/ logout.jsp resetChain.jsp userOnlyLogin.jsp
defaultFailedLogin.jsp images/ noUser.jsp resetChooseLogin.jsp
default-form.jsp img/ otp.jsp saml2_metadata.jsp
defaultForm.jsp js/ postPreservation.jsp secretQuestions.jsp
duo/ jumbotron-narrow.css pwdResetBadKey.jsp smsKey.jsp
For the exception, that was fixed in 1.0.20 to make sure that the cacerts certificates were properly trusted. In addition to upgrading to 1.0.20, you'll need to add -Djavax.net.ssl.trustStore=/etc/openunison/unisonKeyStore.p12
to the JAVA_OPTS
envionment variable defined in the openunison-orchestra
Deployment
in the openunison
namespace.
from openunison-k8s-login-activedirectory.
sorry @vbottu i said 1.0.21 because thats the version we're working on now. its 1.0.20 you want
from openunison-k8s-login-activedirectory.
Thanks @mlbiam , I have tried customizing the webapp. But when I do a docker build all my changes are overridden from the overlay part. How do I customize the look and feel . In 1.0.18 i just changed the files under webapp and rebuilt the application and image and it worked.
Thanks.
from openunison-k8s-login-activedirectory.
it's the same process. if you do mvn clean package
are your custom jsps in target/war/work/com.tremolosecurity.unison/open-unison-webapp/auth/forms
?
from openunison-k8s-login-activedirectory.
They are but they are getting replaced somehow by the default pages.
from openunison-k8s-login-activedirectory.
ok, can you verify the container you are running is the new one? Both the orchestra
openunison
object and the openunison-orchestra
Deployment
?
from openunison-k8s-login-activedirectory.
It is running the new containers for both openunison and orchestra.
from openunison-k8s-login-activedirectory.
if you exec into the openunison pod is your jsp there?
from openunison-k8s-login-activedirectory.
When I place the modified jsps in auth/forms under webapp and do a clean package then in the target folder under war/work/com.tremolosecurity.unison/open-unison-webapp folder all the files does not have my changes. They are the default files and logos.
from openunison-k8s-login-activedirectory.
i'm sorry. i pointed you at the wrong directory. thats where maven pull files out from the original war. are your customizations in target/openunison-k8s-login-activedirectory-1.0.20/auth/forms/
?
from openunison-k8s-login-activedirectory.
Yes, I can see my changes in that folder. But when the image is built and I deploy orchestra i somehow see the default pages and icons.
from openunison-k8s-login-activedirectory.
odd. only thing i can think of is the image isn't being pulled. do you have a specific tag you can use when building the new image?
from openunison-k8s-login-activedirectory.
I am just using tag 1.0.20 for building the image
from openunison-k8s-login-activedirectory.
please try this:
mvn clean package
- set your image to tag
1.0.20-fresh
mvn compile jib:build
- update the CR to point to
1.0.20-fresh
- verify the
openunison-orchestra
Deployment
is running1.0.20-fresh
- verify the
openunison-orchestra-aaaa
pods are running1.0.20-fresh
- remote shell into the
openunison-orchestra-aaaa
pod, check if your customizations are there - In chrome, enable developer tools and check "disable cache"
- try logging in to openunison
from openunison-k8s-login-activedirectory.
Sure, let me try that and get back.
from openunison-k8s-login-activedirectory.
It worked. Thanks. However I am getting ERR_SSL_KEY_USAGE_INCOMPATIBLE in chrome(Version 85.0.4183.83 (Official Build) (64-bit)) and edge (Version 85.0.564.44 (Official build) (64-bit)) on windows 10 64 bit
from openunison-k8s-login-activedirectory.
great! since we're tracking the cert issue in #75 i'll close this thread down
from openunison-k8s-login-activedirectory.
Related Issues (20)
- Apps external to k8s HOT 9
- ERROR ConfigSys : Given final block not properly padded. Such issues can arise if a bad key is used during decryption. HOT 34
- java.io.FileNotFoundException: /etc/extracerts/input.props HOT 17
- openunison-orchestra Terminating HOT 12
- Own TLS Certificate ans SSO HOT 23
- Re-created kubernetes api cert, openunison shows "unauthorized" HOT 43
- kubectl Windows Command doesn't work HOT 2
- Option to remove TMP_CERT from linux command HOT 21
- Using Openldap and Istio Ingress HOT 38
- Error while trying to build locally HOT 3
- Customizing the look and feel HOT 2
- Group has different DN other than LDAP HOT 2
- Multi Cluster Authentication HOT 15
- Deployment with istio gateway and virtualservice causes certificate issues HOT 26
- Show Icons to only who has access to cluster in multi cluster authentication HOT 9
- Installing offline HOT 3
- Credentials in Plain Text in /auth/formLogin HOT 3
- An error occurred while processing this request. Please see the system administrator for assistance. HOT 3
- old expired sessions HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openunison-k8s-login-activedirectory.