As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
public static void main(String[] args) throws Exception { AD_USER = … AD_PASSWORD = … // Start the session AuthenticationUtils.startSession(AD_USER, AD_PASSWORD);
These examples are not using any SSO configuration, that's why you need to provide username and password.Working on Alfresco extensions you don't need to provide the password, but you should work on a different scenario.That example that you have post here, is related to show how create an Alfresco embedded repository in your custom Java application.Do you need to embed Alfresco in a standard Java application?