This tag doesn't currently have an excerpt. Help contribute by writing one
Questions tagged [principal]
173 questions
0
votes
0 answers
Kerberos Authentication via JAAS context fails when system user != principal user
I need to authenticate against a Kerberos Realm with the user test. I want to do this by creating a secure JAAS context via a corresponding jaas.conf config file:
com.sun.security.jgss.krb5.initiate {
com.sun.security.auth.module.Krb5LoginModule…

D. Müller
- 3,336
- 4
- 36
- 84
0
votes
1 answer
Access principal from cookie middleware
I've succesfully setup an ASP.NET core application which use cookie middleware as detailed in the docs.
Now I need to extract a claim from the authenticated Principal.
Quoting the above document:
cookie middleware ... serializes a user principal…

corradolab
- 718
- 3
- 16
0
votes
1 answer
JBoss EAP 5.1 - JBossGenericPrincipal
Right now I inherited legacy application to support and I found a very strange thing. The application is Vaadin based app and it is hosted on JBoss EAP 5.1. On JBoss there is configured login-config module -…

Kamil Czyznielewski
- 71
- 1
- 8
0
votes
0 answers
principal not being propagated when authenticating on JBoss EAP 6.3 using DatabaseServerLoginModule
I am extremely new to doing JBoss deployments and I just inherited the task of migrating our RAP web-app and our Seam based web-app from JBoss 7.1.1 to EAP 6.3. The seam based web app is up and running fine, but I cannot get past the authentication…

verbyk1924
- 221
- 1
- 2
- 8
0
votes
0 answers
Principal Context object returns null after hosting application in IIS
Below is my code:
public List GetActiveDirectoryUsers(string user = "")
{
PrincipalContext ctx = new PrincipalContext(ContextType.Domain, Constants.DomainName);
if (user == "User")
{
…

Sulekha Roy
- 1
- 4
0
votes
1 answer
Not able to set a principal on SandBox and Async user during installation
I've got the errors during my lift of CRM 2013 to CRM 2015 saying that MSCRMSandboxService and MSCRMAsyncService were troublesome.
There was a problem setting the service principal name (SPN) for service MSCRMSandboxService with user account…

Konrad Viltersten
- 36,151
- 76
- 250
- 438
0
votes
2 answers
Does a System.DirectoryServices.AccountManagement.Principal ever have a null GUID?
I have a situation where I need to store a globally unique identifier that points to an Active Directory user account. I'm leaning towards the Guid because it is easier to store than the Sid.
According to the MSDN entry, the property (which is a…

Josh
- 2,740
- 3
- 27
- 41
0
votes
1 answer
What is the conceptual model regarding accounts in windows nt?
Are "user name" and "user account" interchangeable, if yes, to what extent? What about displayed name and eg. client name? How local users vs. domain users come into play? What about services like LocalService, LocalSystem and NetworkService?…

n611x007
- 8,952
- 8
- 59
- 102
0
votes
2 answers
ASP.NET MVC Custom Principal not using ASPNETDB.MDF
I am working on an ASP.NET MVC 3 application.
I have implemented custom Principal and Identity classes that I am using for user authentication and authorization. I am using Forms Authentication.
In all of my controllers I am using the…

Frinavale
- 3,908
- 10
- 44
- 74
0
votes
1 answer
pca of psych r package: how to obtain only total % explained variance and model fit measure?
In a shiny app I am building I want to show only the explained variance and the model fit measure of the output of the principal function (of the r package psych). I investigated the structure of the output, but unfortenately (and perhaps a bit…

rdatasculptor
- 8,112
- 14
- 56
- 81
0
votes
1 answer
R psych package - Sort correlation matrix after PCA using mat.sort()
After principal component analysis I am trying to get the variables of my original correlation matrix to be sorted in the same way as in the (sorted) loadings matrix (as displayed with print.psych). I have used the following functions from the psych…

John
- 1
- 1
0
votes
3 answers
How to get the logged user in JAVA with WEBLOGIC?
I found a code, which should reach the logged user:
InitialContext ic = new InitialContext();
SessionContext sessionContext = (SessionContext)ic.lookup("java:comp/EJBContext");
System.out.println("look up injected sctx: " + sessionContext);…

victorio
- 6,224
- 24
- 77
- 113
0
votes
1 answer
Compound Interest using scanner
import java.util.*;
class CompoundInterest
{
public static void main()
{
Scanner s = new Scanner(System.in);
System.out.println("Enter Principal Amount");
float p = s.nextFloat();
…
0
votes
1 answer
Roles with Profie Principal like in Stackoverflow
I have to implement a membership with Role Profile.
What does that means: Role Profile?
For example I have a Manager role but I want to give him a special permissions,
for example read special documents or add a certain data.
Or I have a member…

hackp0int
- 4,052
- 8
- 59
- 95
0
votes
1 answer
Using Kerberos with Webstart. Can´t get tgt from ticket cache
I´m having trouble using Kerberos with Webstart.
I want to get the Principal of the current signed on Windows-User and the API tries to get the
tgt from the ticket cache.
AllowTgtSessionKey is set in Registry to 1.
With normal Java-application all…

Holger
- 496
- 3
- 8