/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.policy.assertion.credential.LoginCredentials
 *  com.l7tech.security.token.SecurityToken
 *  com.l7tech.security.xml.processor.SecurityContext
 */
package com.l7tech.server.security.kerberos;

import com.l7tech.policy.assertion.credential.LoginCredentials;
import com.l7tech.security.token.SecurityToken;
import com.l7tech.security.xml.processor.SecurityContext;

public class KerberosSession
implements SecurityContext {
    private final String a;
    private final byte[] b;
    private final long c;
    private final long d;
    private final LoginCredentials e;

    public KerberosSession(String string, byte[] byArray, long l2, long l3, LoginCredentials loginCredentials) {
        this.a = string;
        this.b = byArray;
        this.d = l2;
        this.c = l3;
        this.e = loginCredentials;
    }

    public String getIdentifier() {
        return this.a;
    }

    public byte[] getSharedSecret() {
        return this.b;
    }

    public SecurityToken getSecurityToken() {
        return this.e != null ? this.e.getSecurityToken() : null;
    }

    public long getExpiration() {
        return this.c;
    }

    public long getCreation() {
        return this.d;
    }

    public LoginCredentials getCredentials() {
        return this.e;
    }
}

